summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Samiul Islam <samiul@google.com> 2024-11-28 08:26:27 +0000
committer Samiul Islam <samiul@google.com> 2024-11-28 08:26:27 +0000
commitbee03574c9f985afc5008f574130c41b6439ec83 (patch)
tree8ab60d7741be06434fff6dc103de25e01cdc7b6e /api/api.go
parent160cdc8e4a8fc1a761cfe3686f101c713d112552 (diff)
Resume original session even if any of the pending sessions fail
Regardless of the result of the pending session, we resume installation if DIS calls onAllDependciesResolved. This is to avoid edge cases, such as, a pending session failng becuase the dependency already got installed somehow else. There is no harm in trying to install. The original sesson will fail if any dependencies remain missing. We still fail the original session immediately if onFailureToResolveAllDependencies. Bug: 372862145 Test: atest PackageManagerShellCommandInstallTest FLAG: android.content.pm.sdk_dependency_installer Change-Id: I09d86192b2f74aa011fbb340c6c6d72f0a5bfc91
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions