diff options
author | Pavel Grafov <pgrafov@google.com> | 2019-03-26 19:42:08 +0000 |
---|---|---|
committer | Pavel Grafov <pgrafov@google.com> | 2019-03-26 19:46:43 +0000 |
commit | 9c295d41d3cf473afbb18a3afaf38dbd82282cca (patch) | |
tree | 01daa659be2fa478e624e826a81ae044ef2a1396 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4d7990f458625eeac4147e382dadb515ae97e7a4 (diff) |
Fix NPE when querying serial number of a partial user.
Assuming that UserData.userInfo is never null (?) exists() check
seems unnecessary - in this case getUserInfoLU will just return
null.
Bug: 127791661
Test: build, boot
Change-Id: Ieb10dea96269a92b12bdc084116b1f7633a7c5c5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions