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

Skip to content
Commit da998cfa authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

Fail committing new staged session if another one is already in progress

This ensures that there might be at most one committed non-finalized
(i.e. either applied or failed) session.

Note that from StagingManager POV atomic staged install is considered to
be a single session that is represented by the parent session of an
install.

Test: run adb install --staged foo.apk twice.
Test: StagedRollbackTest
Bug: 127296534
Change-Id: I497723173745d4f6eb64b7d22fa3adb0f9e8f6c0
parent 83234be1
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