From 69294a5d5ce2dd4f7552daa13e6d9f42e58451d3 Mon Sep 17 00:00:00 2001 From: Beverly Date: Wed, 13 Dec 2017 15:08:30 -0500 Subject: [PATCH] Simplify DND Behavior secondary text Bug: 63077372 Change-Id: I0ac305ff429de27a65667441703b938305d8a03f Fixes: 70627215 Test: make ROBOTEST_FILTER=ZenModeSettingsTest RunSettingsRoboTests -j40 --- res/values/strings.xml | 18 ++++++--- res/xml/zen_mode_behavior_settings.xml | 3 +- .../notification/ZenModeSettings.java | 20 +++++----- .../notification/ZenModeSettingsTest.java | 38 +++++++++++++------ 4 files changed, 49 insertions(+), 30 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 7331d7265f7..35962796d3a 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -6726,14 +6726,14 @@ No sound - - No sound (Total Silence) + + Total Silence No sound except %1$s - - No sound except alarms, media and system feedback (Alarms only) + + No sound except alarms and media Turn on automatically @@ -7313,8 +7313,11 @@ Alarms - - Media and system feedback + + Media + + + Includes system feedback Reminders @@ -7334,6 +7337,9 @@ If the same person calls a second time within a %d minute period + + Custom + Automatically turn on diff --git a/res/xml/zen_mode_behavior_settings.xml b/res/xml/zen_mode_behavior_settings.xml index c0849daaf48..6aeebe69a9b 100644 --- a/res/xml/zen_mode_behavior_settings.xml +++ b/res/xml/zen_mode_behavior_settings.xml @@ -34,7 +34,8 @@ + android:title="@string/zen_mode_media_system_other" + android:summary="@string/zen_mode_media_system_other_secondary_text"/>