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

Commit bbd63cb2 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

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

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