Merge "Update ifaces when global restriction changes." into mnc-dev
This commit is contained in:
@@ -1774,7 +1774,7 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
|
|||||||
maybeRefreshTrustedTime();
|
maybeRefreshTrustedTime();
|
||||||
synchronized (mRulesLock) {
|
synchronized (mRulesLock) {
|
||||||
mRestrictBackground = restrictBackground;
|
mRestrictBackground = restrictBackground;
|
||||||
updateRulesForGlobalChangeLocked(false);
|
updateRulesForGlobalChangeLocked(true);
|
||||||
updateNotificationsLocked();
|
updateNotificationsLocked();
|
||||||
writePolicyLocked();
|
writePolicyLocked();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user