summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/applications/AppOpsState.java
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2014-07-08 18:54:55 -0700
committerMichael Wright <michaelwr@google.com>2014-07-16 00:04:19 +0000
commitbdf28e40251772a35f776af9fd1a4b903f0f9771 (patch)
tree3398f6c0b4fc03fb935d0a9a9c7ece27fa1bdfec /src/com/android/settings/applications/AppOpsState.java
parent62a8aa7ac90ad28e8f524011480b8b379d0bb50a (diff)
downloadpackages_apps_Settings-bdf28e40251772a35f776af9fd1a4b903f0f9771.zip
packages_apps_Settings-bdf28e40251772a35f776af9fd1a4b903f0f9771.tar.gz
packages_apps_Settings-bdf28e40251772a35f776af9fd1a4b903f0f9771.tar.bz2
Add OP_PROJECT_MEDIA to AppOps
Bug: 9905068 Change-Id: Ie929cfbe0001f6e6645316ea8b2eca13aab35675
Diffstat (limited to 'src/com/android/settings/applications/AppOpsState.java')
-rw-r--r--src/com/android/settings/applications/AppOpsState.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/com/android/settings/applications/AppOpsState.java b/src/com/android/settings/applications/AppOpsState.java
index 4ef5ef2..75a8372 100644
--- a/src/com/android/settings/applications/AppOpsState.java
+++ b/src/com/android/settings/applications/AppOpsState.java
@@ -103,14 +103,14 @@ public class AppOpsState {
AppOpsManager.OP_WIFI_SCAN,
AppOpsManager.OP_NEIGHBORING_CELLS,
AppOpsManager.OP_MONITOR_LOCATION,
- AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION},
+ AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION },
new boolean[] { true,
true,
false,
false,
false,
false,
- false}
+ false }
);
public static final OpsTemplate PERSONAL_TEMPLATE = new OpsTemplate(
@@ -189,13 +189,15 @@ public class AppOpsState {
AppOpsManager.OP_CALL_PHONE,
AppOpsManager.OP_WRITE_SETTINGS,
AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
- AppOpsManager.OP_WAKE_LOCK },
+ AppOpsManager.OP_WAKE_LOCK,
+ AppOpsManager.OP_PROJECT_MEDIA },
new boolean[] { false,
true,
true,
true,
true,
- true, }
+ true,
+ false, }
);
public static final OpsTemplate[] ALL_TEMPLATES = new OpsTemplate[] {