summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-02-18 14:19:14 -0800
committerYifan Hong <elsk@google.com>2020-03-03 13:19:49 -0800
commite256e3b7d444ac079c6b87abb5331d82cb4ad4a8 (patch)
treed9d1bce05926d1562f1d97bd3b0056063666498a /trusty/coverage/coverage.cpp
parent7fd9b8b7f36a84dafc9150a45ccd20bf11dae9f5 (diff)
libsnapshot: RemoveUpdateState on rollback.
If rollback is detected in ProcessUpdateState, call RemoveUpdateState and return UpdateState::Cancelled. Now that update_engine is reponsible for initiating the merge, it can react to this state and clean up markers appropriately. Test: libsnapshot_test Test: apply OTA, manually rollback (by setting the active slot), then inspect /metadata/ota as well as /data/misc/update_engine/prefs. Bug: 147696014 Change-Id: Ibfee11fb50e4f4fb7c6cf02b4921b35e77b8f5a5
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions