summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPatrick Baumann <patb@google.com>2019-07-30 13:37:47 -0700
committerPatrick Baumann <patb@google.com>2019-07-31 15:02:05 +0000
commit702cf7e5b224a905ac3ba84ea75c6c1dc116d1a2 (patch)
treed789e12caa9a4bae7901aef49fff0324e2225531 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcf141432dbb933359aebad53aa81f36b4d9412a2 (diff)
Accounts for PackageSetting.pkg == null
In some dev cases and potentially for apps on a removed adoptable storage device, the targetting packagesetting may have a null package. This change adds a check for that and treats the app as not queryable. Fixes: 138658673 Test: atest AppsFilterTest Change-Id: I1849247d492f3c3bf30c6ea9c3c8696274729f7b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions