summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2019-05-02 12:36:39 +0100
committerRichard Uhler <ruhler@google.com>2019-05-03 10:48:04 +0100
commit4756970d3f868d64eb8de3cd352e17e66dc31fe9 (patch)
tree2dc47726f329e8a154c3dfaeb808cd22df0ac85b /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfe77152334f354ef2e15a3d75639143ccf29c8f8 (diff)
Fix handling of multi-package enable rollback failures.
Failure to enable rollback for one of the packages in a multi-package install should fail to enable rollback for all packages in the multi-package install. That was not the case prior to this CL, which could lead to partial rollbacks. Keep track of how many child sessions we expect to enable rollback for and double check that we succeeded before making the rollback available. This involves some cleanup of how we track parent vs child sessions when enabling rollback. Bug: 128656191 Test: atest RollbackTest, with new test added. Change-Id: I737896cdc1915396748c5c1959b5397af793258a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions