Skip to content
Commit 76f0c217 authored by Alan Viverette's avatar Alan Viverette
Browse files

Avoid crash when TextToSpeech calls onInit() from the constructor.

If construction of a TextToSpeech object fails, it may call the
initialization listener's onInit() method before the assignment
of the constructed TextToSpeech object to a variable has occurred.

BUG: 8744558
Change-Id: I3404fdb39308009762371154b05d3653bab81ab2
parent ef325d06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment