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
1 file changed