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

Commit db241b88 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by The Android Open Source Project
Browse files

am bac43254: In Tts class, removing method to set the specific engine to use...

am bac43254: 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.

Merge commit 'bac43254'

* commit 'bac43254':
  In Tts class, removing method to set the specific engine to use as the
parents c4662dc1 bac43254
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
@@ -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.
     *