diff options
author | Hui Yu <huiyu@google.com> | 2020-08-11 20:56:24 -0700 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2020-08-12 11:06:41 -0700 |
commit | 8a865d9bae57171e6f758bd3595391305c324055 (patch) | |
tree | ac2fcf986a98668bab5f31f92dba04334083849b /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 8fd758e5684b8db59892921c62131d45704899cd (diff) |
Apply restriction at startForegroundService() call.
Apply FGS background startForeground() restriction at
Context.startForegroundService() call (the startServiceLocked()
method with fgRequired flag), this is earlier than later
apply restriction at Service.startForeground() call so the service will
not start at all if Context.startForegroundService() and mAllowStartForeground
is false.
Bug: 157473819
Test: atest atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: Id5c69d697e845376f49b5071e09fdb971d0a4255
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions