summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Ivan Chiang <chiangi@google.com> 2023-09-21 06:32:54 +0000
committer Ivan Chiang <chiangi@google.com> 2023-09-22 06:21:00 +0000
commit6eb7c58ff5dbe452227f3f30eaa18805fd3822d3 (patch)
tree409f9777437b30bac6c16d3425d5f523652470de /api/api.go
parent6a853abcf3bed9189341816d30439b1706fa6f17 (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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions