diff --git a/res/values/arrays.xml b/res/values/arrays.xml index d02ee1ffee3..93c16407717 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -635,6 +635,7 @@ alarm volume notification volume bluetooth volume + keep awake @@ -670,6 +671,16 @@ Play audio Read clipboard Modify clipboard + Media buttons + Audio focus + Master volume + Voice volume + Ring volume + Media volume + Alarm volume + Notification volume + Bluetooth volume + Keep awake diff --git a/src/com/android/settings/applications/AppOpsState.java b/src/com/android/settings/applications/AppOpsState.java index be1c73fa2eb..d20b6d9eac2 100644 --- a/src/com/android/settings/applications/AppOpsState.java +++ b/src/com/android/settings/applications/AppOpsState.java @@ -183,12 +183,14 @@ 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_WAKE_LOCK }, new boolean[] { false, true, true, true, - true, } + true, + true, } ); public static final OpsTemplate[] ALL_TEMPLATES = new OpsTemplate[] {