diff options
author | Kweku Adams <kwekua@google.com> | 2019-06-13 18:37:51 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2019-06-27 11:14:46 -0700 |
commit | b4b8b9ce54e563f42b58c7f4b00cae63c0babff4 (patch) | |
tree | 561e9e88950d56bd0ee1389108518bb48da2f53f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ee577653725b1a815581f5a4ba5b1fbe6e855525 (diff) |
Making ConnectivityController use remaining quota for job eligibility.
Have ConnectivityController use the app's remaining quota time to
determine if a job would complete in time instead of the maximum
execution time. This will prevent JobScheduler from starting a
connectivity job if there isn't enough remaining quota time to complete
the data transfer.
Bug: 133891979
Test: atest com.android.server.job.JobSchedulerServiceTest
Test: atest com.android.server.job.controllers.ConnectivityControllerTest
Change-Id: Ia4d2de7bdab52230ea4649532a8e5b4526e9f0fa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions