diff options
author | Chris Thornton <thorntonc@google.com> | 2016-05-05 17:20:44 -0700 |
---|---|---|
committer | Chris Thornton <thorntonc@google.com> | 2016-05-05 17:20:44 -0700 |
commit | d9729d1df877d88e7dbdc1b2675a331cea519338 (patch) | |
tree | e7108be58bbba8692806f47ca0ae3a9e0105390a /rs/java/android/renderscript/Program.java | |
parent | f8892359b0ae07031160a71cf3f7e3a86604c2b1 (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