Skip to content
Commit 208b268e authored by Kweku Adams's avatar Kweku Adams
Browse files

Use non-wakeup alarm for delay constraint.

The delay alarm does not need to go off exactly when the time has
passed, so a non-wakeup alarm is suitable for the delay constraint.
A job is expected to go off as soon as its deadline constraint is
satisfied, so we leave the deadline alarm as a wakeup alarm.

Bug: 138465403
Bug: 147162283
Test: atest com.android.server.job.controllers.TimeControllerTest
Test: atest CtsJobSchedulerTestCases
Change-Id: I2a38c0dfc9a1efd862e3a1a4c8351dd4b522021e
Merged-In: I5756bd805c68dea51b3a5aa74419b195407e1a30
parent 17d04f08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment