OSDN Git Service

Merge change 23701 into eclair
authorAndroid (Google) Code Review <android-gerrit@google.com>
Thu, 3 Sep 2009 16:20:15 +0000 (09:20 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Thu, 3 Sep 2009 16:20:15 +0000 (09:20 -0700)
commit5b41931e1f94b2051b7c015081465f19a33096f9
tree35047138de635e500391dc982ec0ea0e2e21b0e0
parent39ec58134dcdfac4c8cbd102187da211f17aa8de
parente8e23db7072c201435493e4a5e8af5ab89733aeb
Merge change 23701 into eclair

* changes:
  Fix bug 2088099 where the TTS example doesn't play in the Settings app when the UI is in Japanese. Rewrite of the initialization of the default language in the TTS Settings. The previous implementation had the following issues: - the "Listen to an example" didn't use the default settings - the string used for the example didn't match the selected language  (this was in order to not imply that TTS is doing translation, but   that proved confusing to users). The language initialization is now implemented in initDefaultLang() and ensures that the default locale is one supported in the array of available locales. The speech rate is also initialized from the settings or the default rate (if no value was stored in the settings).