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

Commit 6e050f79 authored by Charles Chen's avatar Charles Chen Committed by Android (Google) Code Review
Browse files

Merge "Removing logs of text that is being spoken."

parents 44138f15 a19ac0f6
Loading
Loading
Loading
Loading
+25 −25
Original line number Diff line number Diff line
@@ -496,7 +496,7 @@ public class TtsService extends Service implements OnCompletionListener {
     *            engines.
     */
    private int speak(String callingApp, String text, int queueMode, ArrayList<String> params) {
        Log.v(SERVICE_TAG, "TTS service received " + text);
        // Log.v(SERVICE_TAG, "TTS service received " + text);
        if (queueMode == TextToSpeech.QUEUE_FLUSH) {
            stop(callingApp);
        } else if (queueMode == 2) {
@@ -1064,7 +1064,7 @@ public class TtsService extends Service implements OnCompletionListener {
            SoundResource sr = getSoundResource(mCurrentSpeechItem);
            // Synth speech as needed - synthesizer should call
            // processSpeechQueue to continue running the queue
            Log.v(SERVICE_TAG, "TTS processing: " + mCurrentSpeechItem.mText);
            // Log.v(SERVICE_TAG, "TTS processing: " + mCurrentSpeechItem.mText);
            if (sr == null) {
                if (mCurrentSpeechItem.mType == SpeechItem.TEXT) {
                    mCurrentSpeechItem = splitCurrentTextIfNeeded(mCurrentSpeechItem);