am c97509c0: Merge "Update ifaces when global restriction changes." into mnc-dev

* commit 'c97509c0292910d7fb27e4c890ad4bc0ea723fec':
  Update ifaces when global restriction changes.
This commit is contained in:
Jeff Sharkey
2015-08-13 00:00:13 +00:00
committed by Android Git Automerger

View File

@@ -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();
} }