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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user