Zen mode settings.

Step 1: Surface zen mode value under sound settings.

This is in keeping with the principle that quick settings are
accelerators (not replacements) for settings in the Settings app.

Adding configuration to "Limited interruptions" will be done as
a followup, and will serve as the target for the configuration
icon in SystemUI.

Change-Id: Ia2c7351454b17df3e27926ff593eebff284ebef8
This commit is contained in:
John Spurlock
2014-02-27 15:37:13 -05:00
parent 76dcc66f4a
commit adda1b0022
5 changed files with 126 additions and 0 deletions

View File

@@ -109,4 +109,13 @@
android:title="@string/dock_sounds_enable_title"
android:defaultValue="false" />
<com.android.settings.ZenModeListPreference
android:key="zen_mode"
android:persistent="false"
android:title="@string/title_zen_mode"
android:summary="@string/summary_zen_mode"
android:entries="@array/entries_zen_mode"
android:entryValues="@array/entryvalues_zen_mode"
android:dialogTitle="@string/dialog_title_zen_mode" />
</PreferenceScreen>