OSDN Git Service

Merge change 6272 into donut
authorAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 7 Jul 2009 00:03:03 +0000 (17:03 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 7 Jul 2009 00:03:03 +0000 (17:03 -0700)
commit879f7bcf41782940fff3ffcb3586d606361360c6
treebb85d41d95397f75f494da572e84bb57d4312ab9
parent0a59b500147cc038541f6f2897de7e28c15a12c1
parent44fbbea071611f33fb8004b5684f5e342763d278
Merge change 6272 into donut

* changes:
  Fix bug 1946195 by making use of the current Locale to set a default value in the language pref list (bug was no selection in the default language list). Fix half of bug 1956707 where speech rate value as read from the settings was translated to a ratio, which applied an improper speech rate on the TTS engine (bug was setting a default rate makes the TTS demo unintelligible). Moved logic to set the default value in the language pref list in a separate private method to improve readability. Changed default rate values so that normal is 1x and the fastest is 2x.