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
Loading
Please register or sign in to comment