App ops: new labels, fix crash, fix updating list.

- Add new labels for media ops.
- Fix crash due to missing boolean entry for access notifications op.
- Fix updating op category lists to remain stable (not jump
  back to the top).

Change-Id: I505cfd91b1ff92587a627d33f3ac7a21145a9bbd
This commit is contained in:
Dianne Hackborn
2013-02-13 11:02:12 -08:00
parent 7bb10dbca5
commit 7ff56d331e
3 changed files with 33 additions and 20 deletions

View File

@@ -151,11 +151,18 @@ public class AppOpsState {
AppOpsManager.OP_ACCESS_NOTIFICATIONS,
AppOpsManager.OP_CALL_PHONE,
AppOpsManager.OP_WRITE_SETTINGS,
AppOpsManager.OP_SYSTEM_ALERT_WINDOW },
AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
AppOpsManager.OP_CAMERA,
AppOpsManager.OP_RECORD_AUDIO,
AppOpsManager.OP_PLAY_AUDIO },
new boolean[] { false,
false,
true,
true,
true,
true,
true,
true,
true }
);