diff options
author | Roman Birg <roman@cyngn.com> | 2016-01-04 14:29:06 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-01-06 15:14:12 -0800 |
commit | d4cc883c7b42ca1e5ae6bf887fdc0cc22152326f (patch) | |
tree | 0311d7d99f874c22081bd2b116436769c5a61834 | |
parent | 704d0070743f763fb9b881a86986c589caf2f72e (diff) | |
download | packages_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.xml | 4 | ||||
-rw-r--r-- | res/xml/status_bar_settings.xml | 12 |
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" |