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

Call dispatchSessionFinished() on a staged session when finished (3/n)

* Improve consistency between staged and non-staged sessions.
* It is up to the PackageInstallerService policy to decide how
  to retain finished sessions for debugging purposes.
* onSessionFinished() now keeps finished staged sessions if they are
  not explicitly abandoned by the user (isDestroyed() is true)
  to preserve the original behavior.

Bug: 210359798
Test: atest StagingManagerTest \
            PackageInstallerSessionTest \
            CtsStagedInstallHostTestCases

Change-Id: I87f9c2b562206e20d96f212865df2320d6e3c627
parent af8ff1c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment