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

Use #getRollbackForSessionLocked to search for the rollback (3/n)

Each session is allocated with a unique id. No matter it is a parent
session or a child one, a staged session or a non-staged one. For a
given session id, we can correctly locate the matching rollback without
checking #isNewRollback.

In the end, we will be able to remove #getNewRollbackForPackageSessionLocked
when the refactoring is done.

Bug: 149069841
Test: atest RollbackTest
Change-Id: Id7166def31d53ab33dc5212b038a135076c6cb8c
parent 1ac3d118
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