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

Commit 2c6b1400 authored by Sudheer Shanka's avatar Sudheer Shanka Committed by android-build-merger
Browse files

Merge "Update standby firewall rules when an app came out of standby mode." into oc-mr1-dev

am: f523c630

Change-Id: I1115d6ea49dcc8903f5e058469d53524679c2263
parents 1313bf7a f523c630
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -3046,9 +3046,7 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
                updateRestrictBackgroundRulesOnUidStatusChangedUL(uid, oldUidState, uidState);
                updateRestrictBackgroundRulesOnUidStatusChangedUL(uid, oldUidState, uidState);
                if (isProcStateAllowedWhileIdleOrPowerSaveMode(oldUidState)
                if (isProcStateAllowedWhileIdleOrPowerSaveMode(oldUidState)
                        != isProcStateAllowedWhileIdleOrPowerSaveMode(uidState) ) {
                        != isProcStateAllowedWhileIdleOrPowerSaveMode(uidState) ) {
                    if (isUidIdle(uid)) {
                    updateRuleForAppIdleUL(uid);
                    updateRuleForAppIdleUL(uid);
                    }
                    if (mDeviceIdleMode) {
                    if (mDeviceIdleMode) {
                        updateRuleForDeviceIdleUL(uid);
                        updateRuleForDeviceIdleUL(uid);
                    }
                    }