+13
−57
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Combine the separate Controller battery/charging trackers into one so that JobScheduler only has to receive the battery change broadcasts once to update all of the state. This also makes testing easier since the test can be sure that once the battery sequence is updated, all of JS has processed the battery state change. Bug: 141645789 Bug: 213277873 Test: atest --rerun-until-failure 25 CtsJobSchedulerTestCases:android.jobscheduler.cts.JobThrottlingTest#testRestrictingStopReason_Quota Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job Test: atest CtsJobSchedulerTestCases Change-Id: I7151798f17c177eb5e86a6ec51c2d545768a4fcd
File changed.
Preview size limit exceeded, changes collapsed.