commit | ca7fb4bcc000a8ad3f4009c1a8fe069e2214decd | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Mon Aug 12 11:01:56 2019 -0700 |
committer | Kweku Adams <kwekua@google.com> | Mon Aug 12 11:01:56 2019 -0700 |
tree | e5b066e660ba71cfb47433fde89cf20bffe6d634 | |
parent | 8cfff7b8b215c0913781f2d81117e0652088a8da [diff] |
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 Test: atest com.android.server.job.controllers.TimeControllerTest Test: atest CtsJobSchedulerTestCases Change-Id: I5756bd805c68dea51b3a5aa74419b195407e1a30