commit | 6d88856a1b74121f3d242af7f8be6ad66798692a | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Oct 01 13:00:31 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Oct 17 00:10:29 2019 +0000 |
tree | 2dcae400deba228b8b5934ff669ee8461fc4966b | |
parent | a4e7da3b8a4e175dc2cec7c45a5e3d995a0711e1 [diff] |
Call SnapshotManager::CancelUpdate on downgrade path When applying a downgrade package on Virtual A/B device, /metadata/ota/state may not be present, and the attempt to unmap any previous devices,UnmapUpdateSnapshot may fail. Call CancelUpdate() no matter what OTA package (update, downgrade) is applied. Test: apply downgrade when /metadata/ota/state is not present Bug: 138258570 Change-Id: If9a438762db757089376d531b752ac384caa059c