Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8eb6a89 authored by Todd Kennedy's avatar Todd Kennedy
Browse files

fix javadoc for grantRuntimePermission

javadoc and implementation were out of sync.

Change-Id: I53b50ac999134d3f10557cc3b2c3e2586aaa48de
fixes: 30119755
parent 7a39181c
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -3294,7 +3294,7 @@ public abstract class PackageManager {
     * java.lang.SecurityException} is thrown.
     * <p>
     * <strong>Note: </strong>Using this API requires holding
     * android.permission.GRANT_REVOKE_PERMISSIONS and if the user id is
     * android.permission.GRANT_RUNTIME_PERMISSIONS and if the user id is
     * not the current user android.permission.INTERACT_ACROSS_USERS_FULL.
     * </p>
     *
@@ -3303,7 +3303,6 @@ public abstract class PackageManager {
     * @param user The user for which to grant the permission.
     *
     * @see #revokeRuntimePermission(String, String, android.os.UserHandle)
     * @see android.content.pm.PackageManager.PermissionFlags
     *
     * @hide
     */
@@ -3319,7 +3318,7 @@ public abstract class PackageManager {
     * java.lang.SecurityException} is thrown.
     * <p>
     * <strong>Note: </strong>Using this API requires holding
     * android.permission.GRANT_REVOKE_PERMISSIONS and if the user id is
     * android.permission.REVOKE_RUNTIME_PERMISSIONS and if the user id is
     * not the current user android.permission.INTERACT_ACROSS_USERS_FULL.
     * </p>
     *
@@ -3328,7 +3327,6 @@ public abstract class PackageManager {
     * @param user The user for which to revoke the permission.
     *
     * @see #grantRuntimePermission(String, String, android.os.UserHandle)
     * @see android.content.pm.PackageManager.PermissionFlags
     *
     * @hide
     */