diff options
author | Jason Monk <jmonk@google.com> | 2015-05-29 11:11:29 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-06-02 16:29:35 -0400 |
commit | 3b230077dc53c1f83aa6e9b70585148d8193dd82 (patch) | |
tree | a9d98be4b3db2c0f5b2308e017bb0b480afac6ef /packages/SystemUI/res/xml | |
parent | 233241f13d5d7f841d3db80408429d4d0a528c78 (diff) | |
download | frameworks_base-3b230077dc53c1f83aa6e9b70585148d8193dd82.zip frameworks_base-3b230077dc53c1f83aa6e9b70585148d8193dd82.tar.gz frameworks_base-3b230077dc53c1f83aa6e9b70585148d8193dd82.tar.bz2 |
Tuner: Let Status bar be tuned
Also fix a crash in the QSTuner
Bug: 21192440
Change-Id: Ideb8e34b93a4b456d758266dfc06545e7f7ab109
Diffstat (limited to 'packages/SystemUI/res/xml')
-rw-r--r-- | packages/SystemUI/res/xml/tuner_prefs.xml | 63 |
1 files changed, 54 insertions, 9 deletions
diff --git a/packages/SystemUI/res/xml/tuner_prefs.xml b/packages/SystemUI/res/xml/tuner_prefs.xml index 135cc82..4e9a407 100644 --- a/packages/SystemUI/res/xml/tuner_prefs.xml +++ b/packages/SystemUI/res/xml/tuner_prefs.xml @@ -15,16 +15,61 @@ --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" - android:title="@string/system_ui_tuner"> + android:title="@string/system_ui_tuner"> - <Preference - android:key="qs_tuner" - android:title="@string/quick_settings" /> + <Preference + android:key="qs_tuner" + android:title="@string/quick_settings" /> - <SwitchPreference - android:key="battery_pct" - android:title="@string/show_battery_percentage" - android:summary="@string/show_battery_percentage_summary" - android:persistent="false" /> + <PreferenceScreen + android:title="@string/status_bar" > + + <com.android.systemui.tuner.StatusBarSwitch + android:key="cast" + android:title="@string/quick_settings_cast_title" /> + + <com.android.systemui.tuner.StatusBarSwitch + android:key="hotspot" + android:title="@string/quick_settings_hotspot_label" /> + + <com.android.systemui.tuner.StatusBarSwitch + android:key="bluetooth" + android:title="@string/quick_settings_bluetooth_label" /> + + <com.android.systemui.tuner.StatusBarSwitch + android:key="zen" + android:title="@string/quick_settings_dnd_label" /> + + <com.android.systemui.tuner.StatusBarSwitch + android:key="alarm_clock" + android:title="@string/status_bar_alarm" /> + + <com.android.systemui.tuner.StatusBarSwitch + android:key="managed_profile" + android:title="@string/status_bar_work" /> + + <com.android.systemui.tuner.StatusBarSwitch + android:key="wifi" + android:title="@string/quick_settings_wifi_label" /> + + <com.android.systemui.tuner.StatusBarSwitch + android:key="ethernet" + android:title="@string/status_bar_ethernet" /> + + <com.android.systemui.tuner.StatusBarSwitch + android:key="mobile" + android:title="@string/quick_settings_cellular_detail_title" /> + + <com.android.systemui.tuner.StatusBarSwitch + android:key="airplane" + android:title="@string/status_bar_airplane" /> + + </PreferenceScreen> + + <SwitchPreference + android:key="battery_pct" + android:title="@string/show_battery_percentage" + android:summary="@string/show_battery_percentage_summary" + android:persistent="false" /> </PreferenceScreen> |