Loading core/java/android/speech/tts/TextToSpeech.java +2 −3 Original line number Diff line number Diff line Loading @@ -2427,9 +2427,8 @@ public class TextToSpeech { @Override public void onError(String errorInfo) { Log.w(TAG, "System TTS connection error: " + errorInfo); // The connection was not established successfully - handle as // disconnection: clear the state and notify the user. onServiceDisconnected(/* componentName= */ null); // There is an error connecting to the engine - notify the listener. dispatchOnInit(ERROR); } }); Loading services/texttospeech/java/com/android/server/texttospeech/TextToSpeechManagerPerUserService.java +1 −1 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ final class TextToSpeechManagerPerUserService extends try { callbackRunnable.runOrThrow(); } catch (RemoteException ex) { Slog.w(TAG, "Failed running callback method", ex); Slog.i(TAG, "Failed running callback method: " + ex); } } Loading Loading
core/java/android/speech/tts/TextToSpeech.java +2 −3 Original line number Diff line number Diff line Loading @@ -2427,9 +2427,8 @@ public class TextToSpeech { @Override public void onError(String errorInfo) { Log.w(TAG, "System TTS connection error: " + errorInfo); // The connection was not established successfully - handle as // disconnection: clear the state and notify the user. onServiceDisconnected(/* componentName= */ null); // There is an error connecting to the engine - notify the listener. dispatchOnInit(ERROR); } }); Loading
services/texttospeech/java/com/android/server/texttospeech/TextToSpeechManagerPerUserService.java +1 −1 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ final class TextToSpeechManagerPerUserService extends try { callbackRunnable.runOrThrow(); } catch (RemoteException ex) { Slog.w(TAG, "Failed running callback method", ex); Slog.i(TAG, "Failed running callback method: " + ex); } } Loading