1881bc644fe252d3b4c78fff9d7f8dd958e44f14
The periodic parole window is the 10 minute window that occurs every 24 hours to let RARE apps run. Now that we have the quota system in place, there's no need to have the periodic parole window. Alarms and jobs will still be allowed to run when charging. Network will continue to be restricted for RARE apps even when charging. JobScheduler requests an exception for RARE jobs in quota, so they will still be able to run. With this change, idle apps should still not get network when charging unless JobScheduler requests it, so we have to update the tests. Bug: 136184981 Test: atest AppStandbyControllerTests Test: atest CtsAlarmManagerTestCases Test: atest com.android.cts.net.HostsideRestrictBackgroundNetworkTests Test: atest com.android.server.AlarmManagerServiceTest Test: atest com.android.server.AppStateTrackerTest Test: atest com.android.server.job.controllers.QuotaControllerTest Change-Id: Icd7b6eff8777f9b53a10eca521b73988f58f2d84
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%