diff options
author | JW Wang <wangchun@google.com> | 2020-09-17 10:54:43 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2020-09-25 10:15:27 +0800 |
commit | ae0c65a7ca349f0a3608f5e91d4649f773150106 (patch) | |
tree | 877a64ee503ed7bd6b81447fe47507d7beca6653 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a44e3df0c95401e41709bc98e669d98f5ca6d66b (diff) |
Don't enable rollback again in pre-reboot verification
See b/167645815#comment1 for details.
1. In notifyStagedSession(), rollback is enabled for the 1st time.
2. In verifyStagedSession(), rollback is enabled again and
FileAlreadyExistsException is thrown.
Remove the INSTALL_ENABLE_ROLLBACK flag if the verification is kicked
off by a staged install.
Bug: 167645815
Test: atest RollbackManagerHostTest#testApkOnlyMultipleStagedPartialRollback
and check logcat messages that no FileAlreadyExistsException is thrown
Change-Id: Id8a96a1dd790331170e2a7e201634b23d20424c6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions