Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ae0c65a7 authored by JW Wang's avatar JW Wang
Browse files

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
parent a44e3df0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment