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

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

Sessions committed later shouldn't cause earlier ones to fail

When 2 sessions have overlapping packages, the one committed earlier
should pass the overlapping check while the later one should fail.

1. Add a field to denote the time when a session is committed.
2. When doing overlapping check, only consider sessions that are
   committed before the current session.

Bug: 174442862
Test: atest StagingManagerTest PackageInstallerSessionTest

Change-Id: Ieeafc879f32b1228d451307b194d65146c7496c1
parent c43d935c
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