diff options
author | Hui Yu <huiyu@google.com> | 2021-01-12 23:03:24 -0800 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2021-01-19 10:01:12 -0800 |
commit | 19b558678dc2a69068f64fc5b137e5c0e03c0a25 (patch) | |
tree | 8fb785d3cda831cf379d3523bb8bb8f769a0e0b1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ab9dd642fe322012b769962caca2b28937ce4699 (diff) |
DeviceIdleController updates AMS with temp allowlist type.
1. add a "type" parameter to AMS.updateDeviceIdleTempWhitelist() which is
called by DeviceIdleController.
2. The default temp allowlist type is TEMPORARY_WHITELIST_TYPE_FOREGROUND_SERVICE_ALLOWED
which allows BG-FGS launch.
3. AMS.tempWhitelistUidLocked() already has a type parameter. Other API
to add temp allowlist can also add type parameter other than the
default.
Bug: 175244558.
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: Ib42c445c15966bd260964782a7254ed2a7ffa405
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions