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
This commit is contained in:
Julia Reynolds
2015-07-15 11:08:11 -04:00
parent 046decca29
commit 16eec50576
3 changed files with 4 additions and 26 deletions

View File

@@ -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"/>
<!-- Reminders -->
<SwitchPreference
android:key="reminders"
android:title="@string/zen_mode_reminders"
android:persistent="false"
android:switchTextOff=""
android:switchTextOn="" />
android:persistent="false"/>
<!-- Events -->
<SwitchPreference
android:key="events"
android:title="@string/zen_mode_events"
android:persistent="false"
android:switchTextOff=""
android:switchTextOn="" />
android:persistent="false"/>
<!-- Messages -->
<com.android.settings.DropDownPreference
@@ -61,8 +55,6 @@
<SwitchPreference
android:key="repeat_callers"
android:title="@string/zen_mode_repeat_callers"
android:persistent="false"
android:switchTextOff=""
android:switchTextOn="" />
android:persistent="false"/>
</PreferenceScreen>