am d913d78a: am ea68c4ce: am c97509c0: Merge "Update ifaces when global restriction changes." into mnc-dev
* commit 'd913d78a331de5e488b27810d8dd18399f50de48': Update ifaces when global restriction changes.
This commit is contained in:
@@ -1862,7 +1862,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