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

Commit 3f98a62f authored by Nate Myren's avatar Nate Myren
Browse files

Change documentation of PERMISSION_SOFT_DENIED

Remove link to appop permission

Fixes: 263159631
Test: build
Change-Id: I27100af28dc3926058910ee195a8fce7d018e070
parent 159f443f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -73,13 +73,12 @@ public final class PermissionChecker {
    public static final int PERMISSION_GRANTED = PermissionCheckerManager.PERMISSION_GRANTED;

    /**
     * The permission is denied. Applicable only to runtime and app op permissions.
     * The permission is denied. Applicable only to runtime permissions.
     *
     * <p>Returned when:
     * <ul>
     *   <li>the runtime permission is granted, but the corresponding app op is denied
     *       for runtime permissions.</li>
     *   <li>the app ops is ignored for app op permissions.</li>
     * </ul>
     *
     * @hide
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ public final class PermissionManager {
    public static final int PERMISSION_GRANTED = 0;

    /**
     * The permission is denied. Applicable only to runtime and app op permissions.
     * The permission is denied. Applicable only to runtime permissions.
     * <p>
     * The app isn't expecting the permission to be denied so that a "no-op" action should be taken,
     * such as returning an empty result.