commit | d942698ccca4f603e370b97a6ca2736824c2230b | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Feb 25 14:14:26 2021 -0800 |
committer | Kweku Adams <kwekua@google.com> | Thu Feb 25 14:14:26 2021 -0800 |
tree | ec66a24a0583abedd883b358cc9859984f464351 | |
parent | baba083691f269e9b32d3916d371ffa863bf1a5c [diff] |
Disallow long regular jobs in Doze and battery saver. There are a subset of regular jobs that could run while the device is dozing or in battery saver. Make sure we don't let those jobs run longer than their minimum execution guarantee in those states. Bug: 171305774 Test: atest CtsJobSchedulerTestCases Change-Id: Ib2aa328225f0a485b3a62b6be6fc26d18e150519