Loading services/core/java/com/android/server/am/ActivityManagerService.java +6 −0 Original line number Diff line number Diff line Loading @@ -8154,6 +8154,12 @@ public class ActivityManagerService extends IActivityManager.Stub } } // If we're extending a persistable grant, then we always need to create // the grant data structure so that take/release APIs work if ((modeFlags & Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION) != 0) { return targetUid; } if (targetUid >= 0) { // First... does the target actually need this permission? if (checkHoldingPermissionsLocked(pm, pi, grantUri, targetUid, modeFlags)) { Loading Loading
services/core/java/com/android/server/am/ActivityManagerService.java +6 −0 Original line number Diff line number Diff line Loading @@ -8154,6 +8154,12 @@ public class ActivityManagerService extends IActivityManager.Stub } } // If we're extending a persistable grant, then we always need to create // the grant data structure so that take/release APIs work if ((modeFlags & Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION) != 0) { return targetUid; } if (targetUid >= 0) { // First... does the target actually need this permission? if (checkHoldingPermissionsLocked(pm, pi, grantUri, targetUid, modeFlags)) { Loading