diff --git a/core/java/android/speech/tts/Tts.java b/core/java/android/speech/tts/Tts.java index 804380df97f05..0c52910b19311 100755 --- a/core/java/android/speech/tts/Tts.java +++ b/core/java/android/speech/tts/Tts.java @@ -451,28 +451,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. *