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
Loading
Please register or sign in to comment