summaryrefslogtreecommitdiff
path: root/scripts/update_payload/test_utils.py
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-10-01 13:00:31 -0700
committerYifan Hong <elsk@google.com>2019-10-17 00:10:29 +0000
commit6d88856a1b74121f3d242af7f8be6ad66798692a (patch)
tree2dcae400deba228b8b5934ff669ee8461fc4966b /scripts/update_payload/test_utils.py
parenta4e7da3b8a4e175dc2cec7c45a5e3d995a0711e1 (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
Diffstat (limited to 'scripts/update_payload/test_utils.py')
0 files changed, 0 insertions, 0 deletions