summaryrefslogtreecommitdiff
path: root/libs/androidfw/DynamicLibManager.cpp
diff options
context:
space:
mode:
author Gavin Corkery <gavincorkery@google.com> 2020-03-10 10:20:12 +0000
committer Gavin Corkery <gavincorkery@google.com> 2020-03-10 14:54:47 +0000
commit9da918c704ec39615e15ab73ea36e6d665aac0b9 (patch)
tree0430c89bcec055f1f604a77c62d4d6b9e427f602 /libs/androidfw/DynamicLibManager.cpp
parente6dbe2b880b99dc6747bfa0985e31bf96202534d (diff)
Remove NPE in onPackageFailure
It is possible for null to be returned by ProcessRecord.getPackageListWithVersionCode on package failure. This can cause a NPE in Package Watchdog. Ensure that the list of failing packages is not null. Test: atest PackageWatchdogTest Bug: 151113966 Change-Id: Iab23cd6b4b8ae6b787df5f0b831b51e0ac8b3d31
Diffstat (limited to 'libs/androidfw/DynamicLibManager.cpp')
0 files changed, 0 insertions, 0 deletions