summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorNiels Egberts <nielse@google.com>2015-06-26 16:00:43 +0100
committerNiels Egberts <nielse@google.com>2015-06-26 16:25:37 +0100
commit992ea1553c3ae6766505f084061c5ef2321229b7 (patch)
treef5003e3afc3b8ca1ba64555517d13f627d4b7580 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parenta2e0dc4d20be14ea106b44067cc782774d90df3b (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