Loading core/java/android/content/ContentResolver.java +0 −15 Original line number Original line Diff line number Diff line Loading @@ -2142,21 +2142,6 @@ public abstract class ContentResolver { } } } } /** * @hide */ public void releasePersistableUriPermission(@NonNull String toPackage, @NonNull Uri uri, @Intent.AccessUriMode int modeFlags) { Preconditions.checkNotNull(toPackage, "toPackage"); Preconditions.checkNotNull(uri, "uri"); try { ActivityManager.getService().releasePersistableUriPermission( ContentProvider.getUriWithoutUserId(uri), modeFlags, toPackage, resolveUserId(uri)); } catch (RemoteException e) { } } /** /** * Return list of all URI permission grants that have been persisted by the * Return list of all URI permission grants that have been persisted by the * calling app. That is, the returned permissions have been granted * calling app. That is, the returned permissions have been granted Loading Loading
core/java/android/content/ContentResolver.java +0 −15 Original line number Original line Diff line number Diff line Loading @@ -2142,21 +2142,6 @@ public abstract class ContentResolver { } } } } /** * @hide */ public void releasePersistableUriPermission(@NonNull String toPackage, @NonNull Uri uri, @Intent.AccessUriMode int modeFlags) { Preconditions.checkNotNull(toPackage, "toPackage"); Preconditions.checkNotNull(uri, "uri"); try { ActivityManager.getService().releasePersistableUriPermission( ContentProvider.getUriWithoutUserId(uri), modeFlags, toPackage, resolveUserId(uri)); } catch (RemoteException e) { } } /** /** * Return list of all URI permission grants that have been persisted by the * Return list of all URI permission grants that have been persisted by the * calling app. That is, the returned permissions have been granted * calling app. That is, the returned permissions have been granted Loading