From 16eec50576b28c4a96c0c2856af898c26ff16142 Mon Sep 17 00:00:00 2001 From: Julia Reynolds Date: Wed, 15 Jul 2015 11:08:11 -0400 Subject: [PATCH] Remove blank switchtext from switch preferences. This makes TTS services read the default text (on/off) when these switches are toggled. Bug: 22530662 Change-Id: I77c5918481faa6309995aa385dcfc3608fc94298 --- res/xml/notification_settings.xml | 2 -- res/xml/other_sound_settings.xml | 12 ------------ res/xml/zen_mode_priority_settings.xml | 16 ++++------------ 3 files changed, 4 insertions(+), 26 deletions(-) diff --git a/res/xml/notification_settings.xml b/res/xml/notification_settings.xml index 72a189d1bb4..43fd116592f 100644 --- a/res/xml/notification_settings.xml +++ b/res/xml/notification_settings.xml @@ -100,8 +100,6 @@ diff --git a/res/xml/other_sound_settings.xml b/res/xml/other_sound_settings.xml index 57a302bd116..cc88c3f966f 100644 --- a/res/xml/other_sound_settings.xml +++ b/res/xml/other_sound_settings.xml @@ -23,48 +23,36 @@ diff --git a/res/xml/zen_mode_priority_settings.xml b/res/xml/zen_mode_priority_settings.xml index bfe08710c47..6e324ce046e 100644 --- a/res/xml/zen_mode_priority_settings.xml +++ b/res/xml/zen_mode_priority_settings.xml @@ -25,25 +25,19 @@ android:title="@string/zen_mode_alarms" android:enabled="false" android:defaultValue="true" - android:persistent="false" - android:switchTextOff="" - android:switchTextOn="" /> + android:persistent="false"/> + android:persistent="false"/> + android:persistent="false"/> + android:persistent="false"/>