diff options
author | Hui Yu <huiyu@google.com> | 2020-12-02 09:37:23 -0800 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2020-12-04 09:51:40 -0800 |
commit | cc8af26b010da54677772ea6c7f5b2054d7cb55b (patch) | |
tree | f232f6917e159796495f4097ac1282cc35f5756c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 29bca68828b2a537ca72c4c65e5d43a08ec8aca3 (diff) |
Create multiple temp allowlist types.
1. In BroadcastOptions, create multiple temp allowlist types,
TEMPORARY_WHITELIST_TYPE_FOREGROUND_SERVICE_ALLOWED is the default which
allows both DeviceIdleController temp allowlist behavior and FGS start
from background.
TEMPORARY_WHITELIST_TYPE_FOREGROUND_SERVICE_NOT_ALLOWED
only allows DeviceIdleController temp allowlist behavior.
2. Create FgsStartTempAllowList class to contain the UIDs that is
temporarily allowed to start FGS from background.
Bug: 171305836
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testTempAllowListType
Change-Id: I32a14d675550cd262976bb8e16a48a070387d318
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions