Merge "Update standby firewall rules when an app came out of standby mode." into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f523c630e4
@@ -3046,9 +3046,7 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
|
||||
updateRestrictBackgroundRulesOnUidStatusChangedUL(uid, oldUidState, uidState);
|
||||
if (isProcStateAllowedWhileIdleOrPowerSaveMode(oldUidState)
|
||||
!= isProcStateAllowedWhileIdleOrPowerSaveMode(uidState) ) {
|
||||
if (isUidIdle(uid)) {
|
||||
updateRuleForAppIdleUL(uid);
|
||||
}
|
||||
updateRuleForAppIdleUL(uid);
|
||||
if (mDeviceIdleMode) {
|
||||
updateRuleForDeviceIdleUL(uid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user