summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.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-05 08:41:44 -0800
commitae2558d900d5eafe2a511f8debe72a8564f5f966 (patch)
tree3298faf7dd19d6fe4751d79a92e13a81f8bc55e6 /trusty/coverage/coverage_test.cpp
parent1d32aa1a376eb7be0ac294357f4075429a1da305 (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 Merged-In: Ibfee11fb50e4f4fb7c6cf02b4921b35e77b8f5a5
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions