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

Commit 7761920b authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 6507 into donut

* changes:
  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.
parents 6de4aed1 e28aced7
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;