diff options
author | Chris Thornton <thorntonc@google.com> | 2017-03-20 18:24:26 -0700 |
---|---|---|
committer | Chris Thornton <thorntonc@google.com> | 2017-03-23 15:32:59 -0700 |
commit | d7a7af558b2ff74e55890f618011c8d66b226fed (patch) | |
tree | 1141387ae4756b17641213f9dca95d1b3b59af01 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | edb79fe7f67fe496554d69c89d8f1ead987798f0 (diff) |
Prevent inclusion of null KeyphraseMetadata in info map.
If getKeyphraseMetadataFromApplicationInfo encountered a parse error, it
would return a null KeyphraseMetadata instance. Other parts of
KeyphraseEnrollmentInfo assume that everything inserted into the member
mKeyphrasePackageMap is valid, so this would cause an NPE.
Bug:33448806
Test: Build a bogus enrollment APK and not see a crash.
Change-Id: I0936439ea4bd0050580a7b0ee8f08f2992ebfd63
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions