commit | 42592cc89868349bb59bdf0c32cfb64b4b995584 | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Thu Sep 21 12:54:27 2023 +0000 |
committer | Joanne Chung <joannechung@google.com> | Thu Sep 21 12:54:27 2023 +0000 |
tree | 9d11437b249f87598a68e472f21bfedcadbb48cb | |
parent | 0283bc86e7ed879a8aed5addaf4a344aea961649 [diff] |
Catch NPE when reportInstallationToSecurityLog The scan result is null for installExistingPackageAsUser(), becuse it is installing a package that already exists, there is no scanning or parsing involved. Like reportInstallationStats, we also catch the exception temporary here. There is a follow up bug to handle it correctly. Bug: 301397206 Test: manual. Change-Id: Ie846264d2bc1cd300d67d5cf69e41b710716fa54