commit | d9729d1df877d88e7dbdc1b2675a331cea519338 | [log] [tgz] |
---|---|---|
author | Chris Thornton <thorntonc@google.com> | Thu May 05 17:20:44 2016 -0700 |
committer | Chris Thornton <thorntonc@google.com> | Thu May 05 17:20:44 2016 -0700 |
tree | e7108be58bbba8692806f47ca0ae3a9e0105390a | |
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