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

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

View File

@@ -1862,7 +1862,7 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
maybeRefreshTrustedTime();
synchronized (mRulesLock) {
mRestrictBackground = restrictBackground;
updateRulesForGlobalChangeLocked(false);
updateRulesForGlobalChangeLocked(true);
updateNotificationsLocked();
writePolicyLocked();
}