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

Skip to content
Commit 8445494b authored by Samiul Islam's avatar Samiul Islam
Browse files

Wait for sessions of dependencies to complete

Dependency installation can be async. If DIS returns us session ids
before committing or before completion, then PackageManager will wait
until all the sessions complete before resuming the original session.

There is a possibility that some of the sessions returned by DIS has
already completed or don't exist in the first place. We remove such
sessions from tracker assuming they were successful. If our assumption
is wrong, then the installation will fail at reconcile stage.

Bug: 372862145
Test: atest PackageManagerShellCommandInstallTest
FLAG: android.content.pm.sdk_dependency_installer
Change-Id: I3f3779415b507d18a767c06fdd64d3da3c145e41
parent 019d8152
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment