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

Commit 0dd6333b authored by Hai Zhang's avatar Hai Zhang
Browse files

Clarify that OPSTR constants don't have to be system APIs.

System APIs should only be created when needed.

Test: presubmit
Change-Id: I9e00b7a3008e71ce2a7ebaeac31c545137606477
parent a950a6f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -867,7 +867,7 @@ public class AppOpsManager {

    // when adding one of these:
    //  - increment _NUM_OP
    //  - define an OPSTR_* constant (marked as @SystemApi)
    //  - define an OPSTR_* constant (and mark as @SystemApi if needed)
    //  - add row to sAppOpInfos
    //  - add descriptive strings to Settings/res/values/arrays.xml
    //  - add the op to the appropriate template in AppOpsState.OpsTemplate (settings app)