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
Loading
Please register or sign in to comment