From 4a06e4cc4370f5897f07f6314f25b37db759cf18 Mon Sep 17 00:00:00 2001 From: David Christie Date: Mon, 29 Jul 2013 16:01:21 -0700 Subject: [PATCH] Add Strings for the new high power location monitoring app op. Change-Id: I36b59fb0c18de1718c8fd2cfe30d713aed59c562 --- res/values/arrays.xml | 4 +++- src/com/android/settings/applications/AppOpsState.java | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 99a2e91a7da..2e3d6db6e02 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -572,7 +572,7 @@ gid - + Internal device storage Removable SD card @@ -639,6 +639,7 @@ bluetooth volume keep awake monitor location + monitor high power location @@ -685,6 +686,7 @@ Bluetooth volume Keep awake Location + Location diff --git a/src/com/android/settings/applications/AppOpsState.java b/src/com/android/settings/applications/AppOpsState.java index 61ed2f46bf4..9243b0efaf1 100644 --- a/src/com/android/settings/applications/AppOpsState.java +++ b/src/com/android/settings/applications/AppOpsState.java @@ -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(