summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2020-04-30 18:53:23 -0700
committerDavid Anderson <dvander@google.com>2020-05-02 16:02:07 -0700
commit5a0177d9458ddd7dccef612ee3a52597a26db928 (patch)
tree285f72626b843bd4a434759eeb23cd7272011abb /trusty/coverage/coverage.cpp
parentf4cd49afa4ef3831986370ff5098011233e708d9 (diff)
fastboot: Fix snapshot-update merge behavior.
When merging in recovery, the "imminent data wipe" code was used, which made the assumption the /metadata and /data state would be zapped. This caused future OTAs to error because the old snapshots were detected. This CL allows OTAs to proceed even if unexpected snapshots are present. It also forces the state to "MergeCompleted" after a merge in recovery, so that the next normal boot can perform cleanup. Bug: 155339165 Test: fastboot snapshot-update merge, then take another OTA vts_libsnapshot_test Change-Id: Ief6dea3ba76323044e61307272dda320a4494aea
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions