Loading services/core/java/com/android/server/wm/ActivityTaskManagerService.java +9 −3 Original line number Diff line number Diff line Loading @@ -2648,10 +2648,16 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub { mAmInternal.enforceCallingPermission(Manifest.permission.UPDATE_LOCK_TASK_PACKAGES, "updateLockTaskPackages()"); } final long origId = Binder.clearCallingIdentity(); try { synchronized (mGlobalLock) { ProtoLog.w(WM_DEBUG_LOCKTASK, "Allowlisting %d:%s", userId, Arrays.toString(packages)); ProtoLog.w(WM_DEBUG_LOCKTASK, "Allowlisting %d:%s", userId, Arrays.toString(packages)); getLockTaskController().updateLockTaskPackages(userId, packages); } } finally { Binder.restoreCallingIdentity(origId); } } @Override Loading Loading
services/core/java/com/android/server/wm/ActivityTaskManagerService.java +9 −3 Original line number Diff line number Diff line Loading @@ -2648,10 +2648,16 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub { mAmInternal.enforceCallingPermission(Manifest.permission.UPDATE_LOCK_TASK_PACKAGES, "updateLockTaskPackages()"); } final long origId = Binder.clearCallingIdentity(); try { synchronized (mGlobalLock) { ProtoLog.w(WM_DEBUG_LOCKTASK, "Allowlisting %d:%s", userId, Arrays.toString(packages)); ProtoLog.w(WM_DEBUG_LOCKTASK, "Allowlisting %d:%s", userId, Arrays.toString(packages)); getLockTaskController().updateLockTaskPackages(userId, packages); } } finally { Binder.restoreCallingIdentity(origId); } } @Override Loading