commit | 6eb7c58ff5dbe452227f3f30eaa18805fd3822d3 | [log] [tgz] |
---|---|---|
author | Ivan Chiang <chiangi@google.com> | Thu Sep 21 06:32:54 2023 +0000 |
committer | Ivan Chiang <chiangi@google.com> | Fri Sep 22 06:21:00 2023 +0000 |
tree | 409f9777437b30bac6c16d3425d5f523652470de | |
parent | 6a853abcf3bed9189341816d30439b1706fa6f17 [diff] |
[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