Bug 3365937 notify TTS initialization listener of binding errors
The creation of a TextToSpeech object causes the TTS service to start, and the initialization listener to be called when the service is connected. But the listener is never called when the service binding failed to be notified of this error. The fix consists in checking the result of the bind to service operation, and notify the listener in case of an error. More log was added in case speak() and synthesizeToFile() are called but the service is not known to have started. Change-Id: I7dcc1fa44be31fee3177ec6215fca3306377b934
Loading
Please register or sign in to comment