[3rd try] 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 Bug: 72125364 Change-Id: I7a5628e76121199f3a5299e2a5576e1481574a6e
Loading
Please register or sign in to comment