summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-01-04 14:29:06 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-01-06 15:14:12 -0800
commitd4cc883c7b42ca1e5ae6bf887fdc0cc22152326f (patch)
tree0311d7d99f874c22081bd2b116436769c5a61834
parent704d0070743f763fb9b881a86986c589caf2f72e (diff)
downloadpackages_apps_Settings-d4cc883c7b42ca1e5ae6bf887fdc0cc22152326f.zip
packages_apps_Settings-d4cc883c7b42ca1e5ae6bf887fdc0cc22152326f.tar.gz
packages_apps_Settings-d4cc883c7b42ca1e5ae6bf887fdc0cc22152326f.tar.bz2
Settings: add link to statusbar icon config screen
The SystemUI tuner allowed you to hide specific statusbar icons. Add a link in Status bar settings back to the status bar icon config screen. Change-Id: Ib239c8b893769bcf273664a15e8112caca8a0618 Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r--res/values/cm_strings.xml4
-rw-r--r--res/xml/status_bar_settings.xml12
2 files changed, 15 insertions, 1 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index c098e57..7741e2a 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -820,6 +820,10 @@
<string name="status_bar_battery_percentage_text_inside">Inside the icon</string>
<string name="status_bar_battery_percentage_text_next">Next to the icon</string>
+ <!-- Status bar - icon blacklist -->
+ <string name="status_bar_icons_title">Status bar icons</string>
+ <string name="status_bar_icons_summary">Control which status bar icons are shown</string>
+
<!-- EdgeGesture service -->
<string name="edge_gesture_service_title">Block gesture touch events</string>
<string name="edge_gesture_service_summary">Don\'t send touch events for navigation and status bar gestures to apps</string>
diff --git a/res/xml/status_bar_settings.xml b/res/xml/status_bar_settings.xml
index 0516d9f..0f0a159 100644
--- a/res/xml/status_bar_settings.xml
+++ b/res/xml/status_bar_settings.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2014-2015 The CyanogenMod Project
+ Copyright (C) 2014-2016 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -18,6 +18,16 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/status_bar_title">
+ <PreferenceScreen
+ android:key="status_bar_icons"
+ android:title="@string/status_bar_icons_title"
+ android:summary="@string/status_bar_icons_summary">
+ <intent
+ android:action="android.intent.action.MAIN"
+ android:targetPackage="com.android.systemui"
+ android:targetClass="com.android.systemui.tuner.TunerActivity$StatusBarIconActivity" />
+ </PreferenceScreen>
+
<ListPreference
android:key="status_bar_clock"
android:title="@string/status_bar_clock_style_title"