summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-03-17 13:49:50 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-03-28 08:40:19 -0700
commitcfe796030b722da7995eddc75048ed4088aebf73 (patch)
tree999bacfa8b726423d713b0c93181e2e977ede480 /res/values
parente24960434b847e2210c4dd79f519b7d49ac695fa (diff)
downloadpackages_apps_Settings-cfe796030b722da7995eddc75048ed4088aebf73.zip
packages_apps_Settings-cfe796030b722da7995eddc75048ed4088aebf73.tar.gz
packages_apps_Settings-cfe796030b722da7995eddc75048ed4088aebf73.tar.bz2
Settings: reflect/inform user of disabled wakelock appop
If an app is marked as "allow-in-power-save" (loaded in as part of SystemConfig), then this app is not susceptible to battery saving optimizations and is required to be active for the system to function properly. This behavior is enforced on the PowerManagerService side when requesting wake locks - inform the user visually as well. Ticket: CYNGNOS-1258 Change-Id: I1c99de703012a09ddbde19838171b7e5659f2523 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'res/values')
-rw-r--r--res/values/cm_strings.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index abc44d1..6b42f4e 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -487,6 +487,7 @@
<string name="app_ops_allowed_count">Allowed <xliff:g id="count" example="2 times">%s</xliff:g></string>
<string name="app_ops_ignored_count">Denied <xliff:g id="count" example="2 times">%s</xliff:g></string>
<string name="app_ops_both_count">Allowed <xliff:g id="count">%1$s</xliff:g>, denied <xliff:g id="count">%2$s</xliff:g></string>
+ <string name="app_ops_disabled_by_optimization">Disabled by battery optimization</string>
<!-- App ops menu options -->
<string name="app_ops_show_user_apps">Show user apps</string>