diff options
author | Patrick Baumann <patb@google.com> | 2018-05-08 14:31:45 -0700 |
---|---|---|
committer | Patrick Baumann <patb@google.com> | 2018-05-08 14:31:45 -0700 |
commit | 7438dcbfe2f226ffef0dae52ec32e021622595e4 (patch) | |
tree | d8252b05802e88c9df996dd17c17f5cdb53927b6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0c2985384b4f9022569614e6d330aa09aad8a99e (diff) |
Add null check before checking overlay
This change prevents an NPE that was occurring when the package
for a given setting was assumed to be non-null while dumping
package information for e.g. adb shell dumpsys package
Test: manual - adb shell dumpsys package is no longer malformed
Change-Id: Idaf6a6b82f1fb450848faa15f19ee08085605bdb
Fixes: 79268525
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions