diff options
author | Danesh M <daneshm90@gmail.com> | 2015-12-09 16:07:22 -0800 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2015-12-09 17:22:08 -0800 |
commit | a119231e952d011eac2e1609d3cafd577dbcc30e (patch) | |
tree | b1cafcad220f1c84a6876b553141bafda4daf229 /packages/SystemUI/res/layout | |
parent | db9cc40c962f63e5622c2bd1aa0f08b2592134bd (diff) | |
download | frameworks_base-a119231e952d011eac2e1609d3cafd577dbcc30e.zip frameworks_base-a119231e952d011eac2e1609d3cafd577dbcc30e.tar.gz frameworks_base-a119231e952d011eac2e1609d3cafd577dbcc30e.tar.bz2 |
QSBooleanSettingsRow : Add default value attribute
Without this, settings might throw NotFoundException
and set incorrect defaults
Change-Id: Ia7e193d7c8f935cd5e371e3377af7b64ddcb37cc
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r-- | packages/SystemUI/res/layout/qs_settings.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout/qs_settings.xml b/packages/SystemUI/res/layout/qs_settings.xml index af2cc0c..8f965ea 100644 --- a/packages/SystemUI/res/layout/qs_settings.xml +++ b/packages/SystemUI/res/layout/qs_settings.xml @@ -36,6 +36,7 @@ style="@style/SettingRow" android:key="status_bar_show_weather" android:title="@string/quick_settings_title_show_weather" + systemui:defaultValue="1" systemui:table="cm_system" /> @@ -53,6 +54,7 @@ style="@style/SettingRow" android:title="@string/quick_settings_title_enlarge_first_row" android:key="sysui_qs_main_tiles" + systemui:defaultValue="1" systemui:table="cm_secure" /> <LinearLayout |