commit | cb926fcec46b111d69059874d63c4cbebb5903c4 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Mon Mar 14 17:15:20 2016 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Tue Mar 22 13:44:10 2016 -0700 |
tree | 34f427e5441d27d36e0f8bf52642490829d4f444 | |
parent | 3c3a59e9493e2cbaad83892da546ee73bffa7060 [diff] |
Move device idle logic into a job StateController Move most of device idle (doze) logic from JobSchedulerService to DeviceIdleJobsController. Allow whitelisted apps to run during device idle by adding a new constraint DEVICE_NOT_DOZING. Using the word DOZE to disambiguate from IDLE because the latter is used to mean that the job wants to run in idle-maintenance period. Bug: 26851107 Change-Id: I97f5286bd4d5ca18fbc46c2037c310fd369e18bf