summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2022-03-31 18:07:05 +0000
committer Kweku Adams <kwekua@google.com> 2022-03-31 18:15:43 +0000
commite8ef2d8dea78df8425f9806fbd76250fdb40cebd (patch)
tree9b24bce892a8ee580e748e296dd7fffc78c80856 /libs/androidfw/AttributeResolution.cpp
parent30deaa8bf85562a93bd0f18d2aa3e97174fede7f (diff)
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions