From 0d2a8d204bb7d62834d51393a1d4a6ddaa7753f8 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Tue, 5 May 2015 18:31:27 -0400 Subject: [PATCH] Settings: Migrate calls & messages priority settings. Bug: 18635172 Change-Id: Ib5fe3bc80590875bb4a1547013ac3444939ab6fd --- res/values/strings.xml | 16 ++-- res/xml/zen_mode_priority_settings.xml | 18 +--- .../notification/ZenModePrioritySettings.java | 95 ++++++++++--------- 3 files changed, 61 insertions(+), 68 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index ebef5dec62b..ce56b63be5b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -6160,17 +6160,17 @@ Messages - - Calls/messages from + + From anyone - - Anyone + + From contacts only - - Contacts only + + From starred contacts only - - Starred contacts only + + None Alarms diff --git a/res/xml/zen_mode_priority_settings.xml b/res/xml/zen_mode_priority_settings.xml index 5b1dbf8e5fa..bfe08710c47 100644 --- a/res/xml/zen_mode_priority_settings.xml +++ b/res/xml/zen_mode_priority_settings.xml @@ -46,26 +46,16 @@ android:switchTextOn="" /> - + android:persistent="false" /> - - - - + android:persistent="false" />