summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPatrick Baumann <patb@google.com>2020-04-01 14:10:04 -0700
committerPatrick Baumann <patb@google.com>2020-04-01 14:33:42 -0700
commit74860927b9cc2e847efe2097e244155f15796d6b (patch)
tree862e4e938149a21aa60b12a275f1e34db4e246b6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3dfc45e593326ae43407e8e6fb853ee5c6552228 (diff)
Fixes NPE and adds @Nullable to PackageSetting.pkg
This change addresses an NPE encountered when a package setting refers to an unavailable package and is thus null. It adds a @Nullable annotation to the field to hopefully catch more of this type of error going forward. Fixes: 153007501 Test: atest AppEnumerationTests PackageManagerTest Change-Id: I0ffe1f488d69d45893c96c755e48e19de43fcdf2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions