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

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

Remove unused definitions for default language in TextToSpeech as

the default language is determined by the current Locale, not a hardcoded
value. Add a value for the default TTS engine to use.
parent 72fe2425
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -107,9 +107,7 @@ public class TextToSpeech {
        public static final int FALLBACK_TTS_DEFAULT_RATE = 100; // 1x
        public static final int FALLBACK_TTS_DEFAULT_PITCH = 100;// 1x
        public static final int FALLBACK_TTS_USE_DEFAULTS = 0; // false
        public static final String FALLBACK_TTS_DEFAULT_LANG = "eng";
        public static final String FALLBACK_TTS_DEFAULT_COUNTRY = "";
        public static final String FALLBACK_TTS_DEFAULT_VARIANT = "";
        public static final String FALLBACK_TTS_DEFAULT_SYNTH = "com.svox.pico";

        // return codes for a TTS engine's check data activity
        public static final int CHECK_VOICE_DATA_PASS = 1;