am bbd63cb2: Fix bug where the default TTS Service country is initialized to the default language.

Merge commit 'bbd63cb28595bd6b1fa62d331d9373b5c798c267'

* commit 'bbd63cb28595bd6b1fa62d331d9373b5c798c267':
  Fix bug where the default TTS Service country is initialized to the default language.
This commit is contained in:
Jean-Michel Trivi
2009-07-01 11:18:55 -07:00
committed by The Android Open Source Project

View File

@@ -148,7 +148,7 @@ public class TtsService extends Service implements OnCompletionListener {
private void setDefaultSettings() {
setLanguage(this.getDefaultLanguage(), getDefaultLanguage(), getDefaultLocVariant());
setLanguage(this.getDefaultLanguage(), getDefaultCountry(), getDefaultLocVariant());
// speech rate
setSpeechRate(getDefaultRate());