diff options
author | Yifan Hong <elsk@google.com> | 2019-10-01 13:00:31 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2019-10-17 00:10:29 +0000 |
commit | 6d88856a1b74121f3d242af7f8be6ad66798692a (patch) | |
tree | 2dcae400deba228b8b5934ff669ee8461fc4966b /scripts/update_payload/test_utils.py | |
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
Diffstat (limited to 'scripts/update_payload/test_utils.py')
0 files changed, 0 insertions, 0 deletions