Add Strings for the new high power location monitoring app op.
Change-Id: I36b59fb0c18de1718c8fd2cfe30d713aed59c562
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 99a2e91..2e3d6db 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -572,7 +572,7 @@
<item>gid</item>
</string-array>
- <!-- Apps on SD instalaltion location options in ApplicationSettings -->
+ <!-- Apps on SD installation location options in ApplicationSettings -->
<string-array name="app_install_location_entries">
<item>Internal device storage</item>
<item>Removable SD card</item>
@@ -639,6 +639,7 @@
<item>bluetooth volume</item>
<item>keep awake</item>
<item>monitor location</item>
+ <item>monitor high power location</item>
</string-array>
<!-- User display names for app ops codes -->
@@ -685,6 +686,7 @@
<item>Bluetooth volume</item>
<item>Keep awake</item>
<item>Location</item>
+ <item>Location</item>
</string-array>
<!-- Titles for the list of long press timeout options. -->
diff --git a/src/com/android/settings/applications/AppOpsState.java b/src/com/android/settings/applications/AppOpsState.java
index 61ed2f4..9243b0e 100644
--- a/src/com/android/settings/applications/AppOpsState.java
+++ b/src/com/android/settings/applications/AppOpsState.java
@@ -102,13 +102,15 @@
AppOpsManager.OP_GPS,
AppOpsManager.OP_WIFI_SCAN,
AppOpsManager.OP_NEIGHBORING_CELLS,
- AppOpsManager.OP_MONITOR_LOCATION },
+ AppOpsManager.OP_MONITOR_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(