Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
parent ee577653
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