diff options
| author | Jean-Michel Trivi <jmtrivi@google.com> | 2009-06-08 17:37:25 -0700 |
|---|---|---|
| committer | Jean-Michel Trivi <jmtrivi@google.com> | 2009-06-08 17:37:25 -0700 |
| commit | bac43254b219c827f3d1fd286f4a7f19e9ee2f05 (patch) | |
| tree | 9ab2988b883cf51015875518c7681b98a4004cde | |
| parent | 97d6f75646703f351894991025d16b14399a11b7 (diff) | |
| download | frameworks_base-bac43254b219c827f3d1fd286f4a7f19e9ee2f05.zip frameworks_base-bac43254b219c827f3d1fd286f4a7f19e9ee2f05.tar.gz frameworks_base-bac43254b219c827f3d1fd286f4a7f19e9ee2f05.tar.bz2 | |
In Tts class, removing method to set the specific engine to use as the
framework is always using the engine selected in the Text-To-Speech service.
| -rwxr-xr-x | core/java/android/speech/tts/Tts.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/core/java/android/speech/tts/Tts.java b/core/java/android/speech/tts/Tts.java index 804380d..0c52910 100755 --- a/core/java/android/speech/tts/Tts.java +++ b/core/java/android/speech/tts/Tts.java @@ -452,28 +452,6 @@ public class Tts { /** - * Sets the TTS engine to be used. - * - * @param selectedEngine - * The TTS engine that should be used. - */ - public void setEngine(String engineName, String[] requestedLanguages, int strictness) { - synchronized (startLock) { - if (!started) { - return; - } - try { - itts.setEngine(engineName, requestedLanguages, strictness); - } catch (RemoteException e) { - // TTS died; restart it. - started = false; - initTts(); - } - } - } - - - /** * Sets the speech rate for the TTS engine. * * Note that the speech rate is not universally supported by all engines and |
