commit | b18925badcb1a2f93fb981c25321dc7726144664 | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Tue Feb 11 16:20:06 2020 +0800 |
committer | JW Wang <wangchun@google.com> | Thu Feb 13 11:22:18 2020 +0800 |
tree | f8cd80d677879de9b909e209864f5a8632a1700c | |
parent | 38a5656b774903272bc21303ecf29e2895d0333a [diff] |
Tweak the lifecycle of rollbacks (2/n) 1. #createNewRollbackLocked now adds newly created rollbacks to mRollbacks 2. #completeEnableRollback no longer adds the rollback object to mRollbacks. 3. #completeEnableRollback delete and remove rollbacks from mRollbacks should any error happen. Bug: 149258640 Test: atest RollbackTest StagedRollbackTest Change-Id: Ie6668cf6bd00ce9b83096383776bc75198c4f194