Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 178352cf authored by Joanne Chung's avatar Joanne Chung
Browse files

Catch NPE when reportInstallationStats

The scan result is null for installExistingPackageAsUser(), becuse
it is installing a package that already exists, there is no scanning
or parsing involved. We don't handle this case before and catch
the exception temporary, this change also catch the NPE here. There
is a follow up bug to handle it correctly.

Bug: 298693819
Test: ManagedProfileProvisioningCrossProfileAppsTest#
newlyProvisionedManagedProfile_requiredCrossProfileAppsArePresent

Change-Id: I07d5140785b700a0e9934a0150f709c234dfe0f7
parent 0283bc86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment