Loading services/core/java/com/android/server/pm/UserManagerService.java +10 −8 Original line number Diff line number Diff line Loading @@ -1303,15 +1303,17 @@ public class UserManagerService extends IUserManager.Stub { } if (mAppOpsService != null) { // We skip it until system-ready. final long token = Binder.clearCallingIdentity(); mHandler.post(new Runnable() { @Override public void run() { try { mAppOpsService.setUserRestrictions(effective, mUserRestriconToken, userId); } catch (RemoteException e) { Log.w(LOG_TAG, "Unable to notify AppOpsService of UserRestrictions"); } finally { Binder.restoreCallingIdentity(token); } } }); } propagateUserRestrictionsLR(userId, effective, prevAppliedRestrictions); Loading Loading
services/core/java/com/android/server/pm/UserManagerService.java +10 −8 Original line number Diff line number Diff line Loading @@ -1303,15 +1303,17 @@ public class UserManagerService extends IUserManager.Stub { } if (mAppOpsService != null) { // We skip it until system-ready. final long token = Binder.clearCallingIdentity(); mHandler.post(new Runnable() { @Override public void run() { try { mAppOpsService.setUserRestrictions(effective, mUserRestriconToken, userId); } catch (RemoteException e) { Log.w(LOG_TAG, "Unable to notify AppOpsService of UserRestrictions"); } finally { Binder.restoreCallingIdentity(token); } } }); } propagateUserRestrictionsLR(userId, effective, prevAppliedRestrictions); Loading