commit | ae9d6beba55c896e77c33cb9b1bfc2d580dbf924 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Tue Jan 14 16:10:14 2020 -0800 |
committer | Kweku Adams <kwekua@google.com> | Thu Jan 16 18:58:32 2020 -0800 |
tree | 9b56c5d0acaddacc32c3dfafd3e31a238159e6fd | |
parent | 0c179872c53d3768ead1bda97d7b2b4c19089c38 [diff] |
Place additional constraints on restricted jobs. Update JobScheduler to place additional constraints on jobs in the RESTRICTED bucket: These jobs can only run when the device is idle, charging, battery is not low, and on an unmetered network (for connectivity jobs). They do get one parole session per day where they don't need these additional constraints met. Bug: 145551233 Test: atest CtsJobSchedulerTestCases Change-Id: Ic96841141ed7800295b0b1a54c697a30afc3cd70