diff options
author | Ricky Wai <rickywai@google.com> | 2020-04-17 15:28:34 +0100 |
---|---|---|
committer | Ricky Wai <rickywai@google.com> | 2020-04-17 15:29:53 +0100 |
commit | 224703b359f8da8d139f562ab4465413ed91a3a1 (patch) | |
tree | f5ad3f5b38f0a8cda663953142e970e37386f90a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a8afb50f468b5c68831b793b376ff547164e9e6e (diff) |
Check null pointer before using pkgDataInfoMap
Otherwise, app process may crash during first run in first boot
When pkgDataInfoMap is null, we should let it being remounted
after storage is unlocked.
Fix: 154312199
Test: Wipe and boot device, without any exception
Change-Id: Iadf92c9b3996242296883c6bff81a08b24bce42c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions