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

Commit 42d29cda authored by ccc's avatar ccc Committed by Bruno Martins
Browse files

appops: put @hide back to opToDefaultMode

The annotation @hide to opToDefaultMode was removed in
0ef3e79d and caused the update of
api/current.txt, which breaks down official SDK. Here it's to add
the annotation back to avoid the problem.

Change-Id: I17bc20bfa2357d94caffb3f8ed83b9abbdc6f7d4
parent c07e94c0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1749,6 +1749,10 @@ public class AppOpsManager {
        return sOpDefaultMode[op];
    }

    /**
     * Retrieve the default mode for the operation.
     * @hide
     */
    public static int opToDefaultMode(int op) {
        return opToDefaultMode(op, false);
    }