diff options
| author | 2017-01-26 14:40:19 +0900 | |
|---|---|---|
| committer | 2017-02-02 00:13:08 +0000 | |
| commit | d3c6dd1522dc9b08476b70c4f6923f4debff78ee (patch) | |
| tree | 9e4b62ec737ad3608007631f90727e0f7440fb6e /libs/hwui/ProgramCache.cpp | |
| parent | 881ba34ba75be2e4f653e0dc77a1daacea3c5d4e (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 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions