diff options
author | Nikita Ioffe <ioffe@google.com> | 2019-03-04 22:54:30 +0000 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2019-03-12 20:27:42 +0000 |
commit | da998cfa3d680c4bc373de7a4b8a6802b6f8d5cd (patch) | |
tree | 2671a1739482a8881df3924cbff2f3e4dc832677 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 83234be1846eb8ade6636a4772d361bd7989b93c (diff) |
Fail committing new staged session if another one is already in progress
This ensures that there might be at most one committed non-finalized
(i.e. either applied or failed) session.
Note that from StagingManager POV atomic staged install is considered to
be a single session that is represented by the parent session of an
install.
Test: run adb install --staged foo.apk twice.
Test: StagedRollbackTest
Bug: 127296534
Change-Id: I497723173745d4f6eb64b7d22fa3adb0f9e8f6c0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions