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

Commit b0672494 authored by Josh Imbriani's avatar Josh Imbriani
Browse files

Moving to non-deprecated onError function for UtteranceProgressListener

Test: CTS tests

Change-Id: I9a0e91c9cfdd26b94b3dccdde439f4f9ccab5dd8
parent ea7ba961
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2109,7 +2109,7 @@ public class TextToSpeech {
                    public void onError(String utteranceId, int errorCode) {
                        UtteranceProgressListener listener = mUtteranceProgressListener;
                        if (listener != null) {
                            listener.onError(utteranceId);
                            listener.onError(utteranceId, errorCode);
                        }
                    }