commit | e3fcade19832f8815738cb6747264ab694552d18 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Wed Feb 03 13:59:24 2021 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Thu Feb 11 20:07:40 2021 +0000 |
tree | 12d70051eff5e186e7e4be914e30efd1f774a88c | |
parent | 06bdb473bf903bde613c5bc21e41df30f751e091 [diff] |
Simplify staged install resume flow. In short, new flow looks like this: 1. Check state of apex sessions. 2. If it's inconsistent (e.g has activated and failed sessions) -> abort 3. If there is a failed apex session, fail all remaining sessions. 4. Otherwise proceed with resuming sessions one-by-one. Test: atest CtsStagedInstallHostTestCases Test: atest ApexManagerTest Test: atest StagingManagerTest Bug: 176452293 Change-Id: Ide45ee9977b291a4ce2ca3d1cdebf53f464891f8