Add Strings for the new high power location monitoring app op.

Change-Id: I36b59fb0c18de1718c8fd2cfe30d713aed59c562
This commit is contained in:
David Christie
2013-07-29 16:01:21 -07:00
parent 0125d032ef
commit 4a06e4cc43
2 changed files with 7 additions and 3 deletions

View File

@@ -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. -->

View File

@@ -102,13 +102,15 @@ public class AppOpsState {
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(