diff options
author | Kweku Adams <kwekua@google.com> | 2020-05-26 12:21:16 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2020-05-27 21:48:50 +0000 |
commit | 52b52a6016b10b05ec518e06d74e57d6cc02d8c2 (patch) | |
tree | a9d9d843f3c6a852d2a86a4429294b7dd96b94a9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 57e977a5859ff24f5ff909046dccde5bce341f6d (diff) |
Fix app standby bugs.
1. Don't set app standby buckets when app idle is disabled. When the
bucket is set when app idle is disabled, AppStandbyController notifies
listeners, which then puts the listeners in an invalid state where
they think some apps are exempted from things like battery saver.
2. Remove uninstalled packages from AppStateTracker's exempted package
cache.
Bug: 156868557
Test: make cts -j 64 && cts-tradefed run commandAndExit cts -m CtsBatterySavingTestCases -t android.os.cts.batterysaving.BatterySaverAlarmTest
Test: make cts -j 64 && cts-tradefed run commandAndExit cts-on-gsi -m CtsBatterySavingTestCases -t android.os.cts.batterysaving.BatterySaverAlarmTest
Change-Id: If62c75eff0bc56ef1750e109335ba7e47832c128
Merged-In: 2a94051c041dab180dc7f22e9a4f5ff36dd7d483
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions