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

Skip to content
Commit 4af2f750 authored by Oli Lan's avatar Oli Lan
Browse files

Move Rollback synchronisation into the Rollback class.

This CL moves the last few accesses of Rollback state out of
RollbackManagerServiceImpl and into the Rollback class, and moves
synchronisation for rollbacks into that class. This follows on from
ag/9413749, ag/9431132 and ag/9452004 which moved most of the access
of rollback state previously.

As this change meant that the state of NewRollbacks would no longer be
synchronised, this CL also adds simple per-NewRollback synchronisation.
This may be removed in future changes if the NewRollback class is merged
into the Rollback class.

Bug: 136241838
Test: RollbackTest
Test: StagedRollbackTest
Test: RollbackUnitTest
Test: CtsRollbackManagerHostTestCases
Change-Id: I7a5cf8b5d2bdb090a5a062ac4baa07e4d9e54cda
parent 71428f79
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