Loading services/core/java/com/android/server/am/ActivityManagerService.java +36 −34 Original line number Diff line number Diff line Loading @@ -4820,6 +4820,10 @@ public class ActivityManagerService extends IActivityManager.Stub String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle bOptions, int userId) { // NOTE: The service lock isn't held in this method because nothing in the method requires // the service lock to be held. enforceNotIsolatedCaller("getIntentSender"); // Refuse possible leaked file descriptors if (intents != null) { Loading Loading @@ -4851,7 +4855,6 @@ public class ActivityManagerService extends IActivityManager.Stub } } synchronized(this) { int callingUid = Binder.getCallingUid(); int origUserId = userId; userId = mUserController.handleIncomingUser(Binder.getCallingPid(), callingUid, userId, Loading Loading @@ -4889,7 +4892,6 @@ public class ActivityManagerService extends IActivityManager.Stub throw new SecurityException(e); } } } @Override public int sendIntentSender(IIntentSender target, IBinder whitelistToken, int code, Loading Loading
services/core/java/com/android/server/am/ActivityManagerService.java +36 −34 Original line number Diff line number Diff line Loading @@ -4820,6 +4820,10 @@ public class ActivityManagerService extends IActivityManager.Stub String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle bOptions, int userId) { // NOTE: The service lock isn't held in this method because nothing in the method requires // the service lock to be held. enforceNotIsolatedCaller("getIntentSender"); // Refuse possible leaked file descriptors if (intents != null) { Loading Loading @@ -4851,7 +4855,6 @@ public class ActivityManagerService extends IActivityManager.Stub } } synchronized(this) { int callingUid = Binder.getCallingUid(); int origUserId = userId; userId = mUserController.handleIncomingUser(Binder.getCallingPid(), callingUid, userId, Loading Loading @@ -4889,7 +4892,6 @@ public class ActivityManagerService extends IActivityManager.Stub throw new SecurityException(e); } } } @Override public int sendIntentSender(IIntentSender target, IBinder whitelistToken, int code, Loading