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

Commit 067730b3 authored by Nate Myren's avatar Nate Myren
Browse files

Update javadoc for startProxyOp

Fixes: 170705158
Test: build
Change-Id: I5317a7bc15915ea7fd92b55b070fc41faa319312
parent 9d6c5596
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -7911,7 +7911,7 @@ public class AppOpsManager {
     *
     * @param op The op to note
     * @param proxiedUid The uid to note the op for {@code null}
     * @param proxiedUid The package name the uid belongs to
     * @param proxiedPackageName The package name the uid belongs to
     * @param proxiedAttributionTag The proxied {@link Context#createAttributionContext
     * attribution tag} or {@code null} for default attribution
     * @param message A message describing the reason the op was noted
@@ -7939,17 +7939,7 @@ public class AppOpsManager {
     *Like {@link #startProxyOp(String, int, String, String, String)} but instead
     * of throwing a {@link SecurityException} it returns {@link #MODE_ERRORED}.
     *
     * @param op The op to note
     * @param proxiedUid The uid to note the op for {@code null}
     * @param proxiedUid The package name the uid belongs to
     * @param proxiedAttributionTag The proxied {@link Context#createAttributionContext
     * attribution tag} or {@code null} for default attribution
     * @param message A message describing the reason the op was noted*
     * <p>This API requires package with the {@code proxiedPackageName} to belong to
     * {@code proxiedUid}.
     *
     * @return Returns {@link #MODE_ALLOWED} if the operation is allowed, or {@link #MODE_IGNORED}
     * if it is not allowed and should be silently ignored (without causing the app to crash).
     * @see #startProxyOp(String, int, String, String, String)
     */
    public int startProxyOpNoThrow(@NonNull String op, int proxiedUid,
            @NonNull String proxiedPackageName, @Nullable String proxiedAttributionTag,