Migrate package notification controls to AppOps.
We still show the [X] Show Notifications box in
InstalledAppDetails for now, however the information should
be mostly in sync with the AppOps screen. ("Mostly" because
there's no way to register for changes to AppOp modes at
present.)
Change-Id: Ia5cdda26c140aed8ee7329caaeedac04b8cbd8f1
This commit is contained in:
@@ -107,7 +107,8 @@ public class AppOpsState {
|
||||
);
|
||||
|
||||
public static final OpsTemplate DEVICE_TEMPLATE = new OpsTemplate(
|
||||
new int[] { AppOpsManager.OP_VIBRATE }
|
||||
new int[] { AppOpsManager.OP_VIBRATE,
|
||||
AppOpsManager.OP_POST_NOTIFICATION }
|
||||
);
|
||||
|
||||
public static final OpsTemplate[] ALL_TEMPLATES = new OpsTemplate[] {
|
||||
|
||||
Reference in New Issue
Block a user