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

This commit is contained in:
David Christie
2013-08-01 19:26:08 +00:00
committed by Android (Google) Code Review
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(