diff options
author | Hui Yu <huiyu@google.com> | 2018-12-06 16:59:18 -0800 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2018-12-06 16:59:18 -0800 |
commit | 1ea855202fcc0006a6fa304fd686642dc2b9dc1e (patch) | |
tree | 2daa9d3aaea7a84e993cb96aba1a015bc0b1629f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | cd504bbedd41df7402163f3bb73b270aa3e0ef61 (diff) |
Add manifest service attribute foregroundServiceType
Foreground service must use attribute foregroundServiceType to
specify its foreground service type in <sevice> element of manifest
file, otherwise a warning message is printed when startForeground()
method is called. (We will replace the warning message with a security
exception when the feature is formally activiated.)
The manifest attribute is:
android:foregroundServiceType="<type>"
Allowed types are: "sync", "mediaPlay", "phoneCall",
"location", "deviceCompanion", "ongoingProcess".
Bug: 111453223
Test: atest frameworks/base/tests/FrameworkPerf
Change-Id: I5d2ab203d400f3c549cd153480b6252a2f9adb3c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions