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

Skip to content
Commit 6eb7c58f authored by Ivan Chiang's avatar Ivan Chiang
Browse files

[pm] Add null check and return first

If the package doesn't exist, don't need to proceed to
setPackageStoppedState in notifyComponentUsed. Return it first.

Bug: 299565095
Test: atest DevicePolicyManagerServiceMigrationTest
Test: atest SuspendPackageHelperTest
Test: atest PackageManagerSettingsTests
Test: atest AppCloningMediaProviderHostTest --iterations 100
Change-Id: I7aff7887e54d023d25ea62d2aad928e45d0fc448
parent 6a853abc
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