summaryrefslogtreecommitdiff
path: root/libutils/FileMap_test.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-04 15:53:06 -0700
commitf2f5edd9d526ff91f03a0bee0997b660cc8b4f34 (patch)
tree36b20e2f9ad455f7ff54bf485dbd61b8a2b1aff4 /libutils/FileMap_test.cpp
parent64021d834ad8be21a992f72696e9552033815e7f (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 Merged-In: Ief6dea3ba76323044e61307272dda320a4494aea
Diffstat (limited to 'libutils/FileMap_test.cpp')
0 files changed, 0 insertions, 0 deletions