From 7e90548836b3e7c4ec8132d9965ba11f055f6931 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Fri, 19 Sep 2014 15:31:12 -0400 Subject: [PATCH] Settings: Wire up new zen events config option. Add a new switch to zen mode settings for the new events config attribute. Depends on frameworks/base: Iff10df385206ad73c3423ff118c79e94a10918d9 Bug:17580878 Change-Id: Ib6c74a871aa02f9379dce58dd5bca817dcd3929a --- res/values/strings.xml | 11 +++++++---- res/xml/zen_mode_settings.xml | 7 +++++++ .../android/settings/notification/ZenModeSettings.java | 18 ++++++++++++++++++ 3 files changed, 32 insertions(+), 4 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index e7a124eedf..139baccc83 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5823,13 +5823,13 @@ Never - Phone calls + Calls Messages - - From + + Calls/messages from Anyone @@ -5840,8 +5840,11 @@ Starred contacts only + + Events and reminders + - Alarms and other personal reminders are always priority + Alarms are always priority interruptions Automatically turn on diff --git a/res/xml/zen_mode_settings.xml b/res/xml/zen_mode_settings.xml index aea4291eb0..8761d104ac 100644 --- a/res/xml/zen_mode_settings.xml +++ b/res/xml/zen_mode_settings.xml @@ -30,6 +30,13 @@ android:title="@string/zen_mode_important_category" > + +