summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2017-01-26 14:40:19 +0900
committerDaichi Hirono <hirono@google.com>2017-02-02 00:13:08 +0000
commitd3c6dd1522dc9b08476b70c4f6923f4debff78ee (patch)
tree9e4b62ec737ad3608007631f90727e0f7440fb6e /rs/java/android/renderscript/ProgramStore.java
parent881ba34ba75be2e4f653e0dc77a1daacea3c5d4e (diff)
Start MtpDocumentsService as foreground service.
Prevously MtpDocumentsService was started as background service, then it turns into a foreground service by calling Service#startForeground. The workflow did not work until this, because now background activity cannot launch a background service. The CL starts using NotificationManager#startForegroundService to launch MtpDocumentsService so that the service can be started as foreground service directly. Bug: 34468813 Test: MtpDocumentsProviderTests Test: manual testing with connecting MTP device to Android Change-Id: Ic35d3e92f234881846e5d82ed04d6681a83035f7
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions