commit | 992ea1553c3ae6766505f084061c5ef2321229b7 | [log] [tgz] |
---|---|---|
author | Niels Egberts <nielse@google.com> | Fri Jun 26 16:00:43 2015 +0100 |
committer | Niels Egberts <nielse@google.com> | Fri Jun 26 16:25:37 2015 +0100 |
tree | f5003e3afc3b8ca1ba64555517d13f627d4b7580 | |
parent | a2e0dc4d20be14ea106b44067cc782774d90df3b [diff] |
Fix crash with engines that don't override getVoices(). The name of the voices was not normalized in getVoices(), therefore if you use getDefaultVoiceName, that name possibly doesn't appear in getVoices(). The framework would then run into a NullPointerException. This was caught by the cts tests. Also added a few more log statements. BUG: 22115315 Change-Id: I51404ddcd1bc10dd3e1ddaac410cfa9873bf1438