diff options
| author | 2009-07-08 14:20:33 -0700 | |
|---|---|---|
| committer | 2009-07-08 14:20:33 -0700 | |
| commit | e28aced7bb96b086b16df82ff9c75b08671eb7df (patch) | |
| tree | b95389b65a96695e3d8594bc11a376f4a5190dc7 | |
| parent | 72fe24259537d644102c717867a8c291d122fd06 (diff) | |
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.
| -rw-r--r-- | core/java/android/speech/tts/TextToSpeech.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index 616b3f113ffb..f90cbffb81e9 100644 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -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; |