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

Commit 1106a7e6 authored by Sudheer Shanka's avatar Sudheer Shanka Committed by Automerger Merge Worker
Browse files

Merge "Fix a minor typo." am: ffd7fdeb am: a6fa6fd8

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1399634

Change-Id: I7e165638f017aca678acf8a014b797534bc8a153
parents 2e111c7e a6fa6fd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4367,7 +4367,7 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
                // Flip state because app was explicitly added or removed to denylist.
                setMeteredNetworkDenylist(uid, (isDenylisted || isRestrictedByAdmin));
                if (hasRule(oldRule, RULE_REJECT_METERED) && isAllowlisted) {
                    // Since dneylist prevails over allowlist, we need to handle the special case
                    // Since denylist prevails over allowlist, we need to handle the special case
                    // where app is allowlisted and denylisted at the same time (although such
                    // scenario should be blocked by the UI), then denylist is removed.
                    setMeteredNetworkAllowlist(uid, isAllowlisted);