Make sure to stop EJs when quota is finished.
If a job is started as an EJ, we should stop it once the EJ quota is finished, regardless of remaining regular quota. If we don't, then the job would get EJ privileges even though the app shouldn't be getting them anymore. Bug: 224533485 Test: atest CtsJobSchedulerTestCases:JobThrottlingTest#testRestrictingStopReason_ExpeditedQuota_noCharging Test: atest CtsJobSchedulerTestCases:JobThrottlingTest#testRestrictingStopReason_ExpeditedQuota_startOnCharging Test: atest CtsJobSchedulerTestCases Change-Id: Ib11023c4e3c05f2b3512bd069bda953fdd9bd0b9
Loading
Please register or sign in to comment