diff options
author | Makoto Onuki <omakoto@google.com> | 2018-02-06 11:30:15 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2018-02-06 13:36:59 -0800 |
commit | 6132e7bb1b428212a3a9d250a3dfebefc7894ea3 (patch) | |
tree | 3a8d520b1d1bd3cdb3d0fe321f11872810e9ca77 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 5a5a798d5c4e5fa0eb27e2ced0f6923f9569b059 (diff) |
JobScheduler to use UID active state for job exemption
JobScheduler used to use procstate foreground state to decide whether
to exempt jobs, but it should use UID's active state instead, so that
if apps in the temp-whitelist schedule jobs, they run immediately.
Test: Boot
Test: atest CtsAlarmManagerTestCases
Test: atest CtsJobSchedulerTestCases
Test: atest CtsBatterySavingTestCases
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/AppStateTrackerTest.java
Change-Id: I134ac3d84a26309dab56ab6cbb271de626acdf7d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions