diff options
author | JW Wang <wangchun@google.com> | 2020-02-07 16:03:35 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2020-02-07 18:51:25 +0800 |
commit | 06650e7326efe5c67d989f3d2bc49cbd86c79324 (patch) | |
tree | 431693e3345a623dfadfbec41182eac861bc7bb4 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1ac3d11862b73ca43f12e23741a89701f47c9faa (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions