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

Skip to content
Commit d9b65326 authored by JW Wang's avatar JW Wang
Browse files

Merge abandon() methods (14/n)

Unify the code flow of abandon() since non-staged sessions now also
have READY/APPLIED/FAILED states.

1. set mStageDirInUse to true to prevent deleting staging files
   when verification is in progress.
2. After verification, process pending abandon() request if any
   and abort the install process.
3. set mStageDirInUse to true again when install phase is about
   to start.

Bug: 210359798
Test: atest CtsRootPackageInstallerHostTestCases \
            CtsAtomicInstallTestCases
Change-Id: I2b2e417ba09304daad5edee03e5717a414d4c023
parent 88ada468
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