summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorChris Thornton <thorntonc@google.com>2016-05-05 17:20:44 -0700
committerChris Thornton <thorntonc@google.com>2016-05-05 17:20:44 -0700
commitd9729d1df877d88e7dbdc1b2675a331cea519338 (patch)
treee7108be58bbba8692806f47ca0ae3a9e0105390a /rs/java/android/renderscript/Program.java
parentf8892359b0ae07031160a71cf3f7e3a86604c2b1 (diff)
Fix NPE in KeyphraseEnrollmentInfo.toString()
If there are no enrollment applications on the system, but someone still makes a KeyphraseEnrollmentInfo and tries to print it, it would generate a NPE on a map object. Instead of setting the map to null when we don't find any enrollment applications, we can just set it to an empty map. Bug:28622866 Change-Id: I023e6fd90effd3143c19817a0d6637a013bebc31
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions