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

Skip to content
Commit ce163ffc authored by Gavin Corkery's avatar Gavin Corkery
Browse files

Only delete available rollbacks if packages are replaced

This accounts for the case when an update is staged and the
system server restarts. Previously, any rollbacks in the
ENABLING state were deleted in this case since the current
package versions would not match the "rolled back from" version
in the rollback. This would mean that a rollback could be
deleted even if the subsequent install was successful.

Instead, skip the package version check for ENABLING rollbacks.

Test: Stage install with rollback enabled, adb shell am restart,
      ensure the rollback is still in the enabling state
Bug: 198006738
Change-Id: I70dfde95ccf0d6a5e20144e3de7f6c8afe55c13b
parent 15baa6ed
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