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

This commit is contained in:
Jean-Michel Trivi
2009-06-29 17:31:05 -07:00
parent aa4f1f9edc
commit bbd63cb285

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());