summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2012-08-13 16:56:02 +0100
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-08-14 08:29:05 -0700
commitccd80ec95f035cb9db9775e6f86fea1f7809f168 (patch)
tree5d60d2097950c9f16d1de6ef7677dc1519974d96 /res/xml
parent1c7d15e841a03a62c5c89f514970a8ce14069c2f (diff)
downloadpackages_apps_Settings-ccd80ec95f035cb9db9775e6f86fea1f7809f168.zip
packages_apps_Settings-ccd80ec95f035cb9db9775e6f86fea1f7809f168.tar.gz
packages_apps_Settings-ccd80ec95f035cb9db9775e6f86fea1f7809f168.tar.bz2
Fix for setting TTS language to recently downloaded one
If user added new voice pack, then set it as a default language, went level back and went to TTS settings again, it ended in crash. This is because first updateVoiceDetails uses old voice data details that settings retreived long time ago. locales preference is hidden until TTs engine returns list of locales. Change-Id: I33a81ff259c69adb4c051ee693b6c41b93f302d0
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/tts_engine_settings.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/res/xml/tts_engine_settings.xml b/res/xml/tts_engine_settings.xml
index 03414e8..176bdbc 100644
--- a/res/xml/tts_engine_settings.xml
+++ b/res/xml/tts_engine_settings.xml
@@ -19,16 +19,19 @@
android:key="tts_default_lang"
android:title="@string/tts_default_lang_title"
android:summary="@string/tts_default_lang_summary"
- android:persistent="false" />
+ android:persistent="false"
+ android:order="100" />
<Preference
android:key="tts_engine_settings"
android:persistent="false"
- android:title="@string/tts_engine_settings_title" />
+ android:title="@string/tts_engine_settings_title"
+ android:order="200" />
<Preference
android:key="tts_install_data"
android:persistent="false"
android:title="@string/tts_install_data_title"
- android:summary="@string/tts_install_data_summary" />
+ android:summary="@string/tts_install_data_summary"
+ android:order="300" />
</PreferenceScreen>