Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9fa1799 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by The Android Open Source Project
Browse files

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

Merge commit 'bbd63cb2'

* commit 'bbd63cb2':
  Fix bug where the default TTS Service country is initialized to the default language.
parents 15e71346 bbd63cb2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());