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

System APIs should only be created when needed.

Test: presubmit
Change-Id: I9e00b7a3008e71ce2a7ebaeac31c545137606477
This commit is contained in:
Hai Zhang
2022-10-25 20:24:54 +00:00
parent a950a6f9e4
commit 0dd6333b08

View File

@@ -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)