diff options
author | Niels Egberts <nielse@google.com> | 2015-06-26 16:00:43 +0100 |
---|---|---|
committer | Niels Egberts <nielse@google.com> | 2015-06-26 16:25:37 +0100 |
commit | 992ea1553c3ae6766505f084061c5ef2321229b7 (patch) | |
tree | f5003e3afc3b8ca1ba64555517d13f627d4b7580 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions