commit | 3fa0ce99ac29df436d1f69b520492178d255d6c2 | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Fri Dec 20 14:34:40 2019 +0800 |
committer | JW Wang <wangchun@google.com> | Fri Jan 03 18:13:32 2020 +0800 |
tree | a72d988a305db3bb7daf52f66147e0fbbb84de06 | |
parent | f73f94a876906e3c3e061bcc27ef03b02946688e [diff] |
Enable a new rollback only when all child sessions succeeded (1/n) Don't enable a new rollback until all its child sessions are notified with success by SessionCallback#onFinished. This change allows us to delete/remove a new rollback if any of its child sessions failed before enabling it. Bug: 134652027 Test: atest RollbackTest Change-Id: Ie7cee8b0998a1df381a83219988a3876629fbcbb