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

This commit is contained in:
Jeff Sharkey
2015-08-12 23:51:55 +00:00
committed by Android (Google) Code Review

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