summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-01-27 15:00:55 -0800
committerRoman Birg <roman@cyngn.com>2016-02-01 13:55:41 -0800
commit8b7fa883def9b0b7bc8ad8fb404b963e88976e0e (patch)
treef7e7f32e2ae11f440a6e061b83f32a72b133cf47 /packages/SystemUI/res
parent6542c71b08808a09d292b65e94c1d00d3e8d231b (diff)
downloadframeworks_base-8b7fa883def9b0b7bc8ad8fb404b963e88976e0e.zip
frameworks_base-8b7fa883def9b0b7bc8ad8fb404b963e88976e0e.tar.gz
frameworks_base-8b7fa883def9b0b7bc8ad8fb404b963e88976e0e.tar.bz2
SystemUI: add flashlight notification reminder
CM13 port of change-id I3689ff6498b97b813ccc10dc7dca3527fc8455aa. We now only post a notification when the user initiated the flashlight via the QS tiles (or "V" gesture) since there is a common API for flashlight apps to hook into (and possibly place their own notification, which we don't want to ever double up on). Ref: CYNGNOS-1670 Change-Id: Id532e8449932fefb216c10798aab6241f6e491ea Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r--packages/SystemUI/res/values/cm_strings.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/cm_strings.xml b/packages/SystemUI/res/values/cm_strings.xml
index 86b87e4..46f3e69 100644
--- a/packages/SystemUI/res/values/cm_strings.xml
+++ b/packages/SystemUI/res/values/cm_strings.xml
@@ -241,4 +241,8 @@
<!-- Hotspot dialog message -->
<string name="hotspot_apm_message">Unable to connect to mobile networks while Airplane mode is enabled. Disable Airplane mode and try again.</string>
+
+ <!-- Notification which notifies user flashlight is enabled -->
+ <string name="quick_settings_tile_flashlight_not_title">Flashlight is on</string>
+ <string name="quick_settings_tile_flashlight_not_summary">Tap to turn off</string>
</resources>