Last active
December 5, 2019 15:40
-
-
Save Muhammadyoussef/ec06cb6212923492050744aaed1abcb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
targetUid = pm.getPackageUid(targetPkg, MATCH_DEBUG_TRIAGED_MISSING, targetUserId); | |
} catch (RemoteException ex) { | |
return; | |
} | |
targetUid = checkGrantUriPermissionLocked(callingUid, targetPkg, grantUri, modeFlags, targetUid); | |
if (targetUid < 0) { | |
return; | |
} | |
grantUriPermissionUncheckedLocked(targetUid, targetPkg, grantUri, modeFlags, owner); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment