commit | 76f0c217fc61c8263abbf3362baea38eb42d6aec | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Mon Apr 29 14:59:04 2013 -0700 |
committer | Alan Viverette <alanv@google.com> | Mon Apr 29 14:59:04 2013 -0700 |
tree | a2a46b263c8054b6d8b7805ecd8c3387b5630b24 | |
parent | ef325d060800e5e1c955969889b549494be576ee [diff] |
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