From 4b43b720544c556e4a8aca4e00a78ea1cd54160f Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Tue, 5 May 2015 09:59:26 -0400 Subject: [PATCH] Settings: Calendar event zen rule string updates. - Remove Attendance option. - Use new reply value, tweak wording and summaries. Bug: 20064962 Change-Id: I6977b494e54752fa87ea08df0ed085129a09a3d3 --- res/values/strings.xml | 47 +++++++------------ res/xml/zen_mode_event_rule_settings.xml | 10 +--- .../ZenModeAutomationSettings.java | 29 ++++-------- .../ZenModeEventRuleSettings.java | 25 +--------- .../notification/ZenRuleNameDialog.java | 1 - 5 files changed, 30 insertions(+), 82 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 7e520367b8a..ae8c8e4a6be 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -6104,51 +6104,36 @@ Automatic rule set to turn on Do Not Disturb during specified events - Calendar + During events for + + + During events for %1$s - Any calendar + any calendar - - Any reply + + Where reply is %1$s - - Any reply except no - - - Replied yes - - - Any - - - Attendance - - - Required or optional - - - Required - - - Optional + + Any calendar - Reply + Where reply is - - Any + + Yes, Maybe, or Not replied - - Any except no + + Yes or Maybe Yes - + Rule not found. - + %1$s / %2$s diff --git a/res/xml/zen_mode_event_rule_settings.xml b/res/xml/zen_mode_event_rule_settings.xml index acad96cad63..2519fc19faf 100644 --- a/res/xml/zen_mode_event_rule_settings.xml +++ b/res/xml/zen_mode_event_rule_settings.xml @@ -24,19 +24,13 @@ android:title="@string/zen_mode_rule_name" android:persistent="false" /> - + - - - - +