commit | 9da918c704ec39615e15ab73ea36e6d665aac0b9 | [log] [tgz] |
---|---|---|
author | Gavin Corkery <gavincorkery@google.com> | Tue Mar 10 10:20:12 2020 +0000 |
committer | Gavin Corkery <gavincorkery@google.com> | Tue Mar 10 14:54:47 2020 +0000 |
tree | 0430c89bcec055f1f604a77c62d4d6b9e427f602 | |
parent | e6dbe2b880b99dc6747bfa0985e31bf96202534d [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