summaryrefslogtreecommitdiff
path: root/aosp/dynamic_partition_test_utils.h
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2021-06-29 19:55:49 -0700
committerDavid Anderson <dvander@google.com>2021-07-01 15:39:09 -0700
commite2b83494b3c7f74f39f94ca94f77f931e58f13a4 (patch)
treec344ff119a30a459d1a49eb39efebe96947b563e /aosp/dynamic_partition_test_utils.h
parent7729c21a473c7da5457786d12b65884ba3a2f594 (diff)
Record the source build fingerprint in SnapshotMergeStats.
This also adds a manual call to WriteState(). If update_engine crashes or the device reboots, it's possible that certain stats (such as the COW file stats) will be gone by the time the merge state is recovered. Forcing a write prevents this. Note that the write was previously implicit in set_cow_file_size, but is now explicit before calling InitiateMerge(). Bug: 188909957 Test: manual test Change-Id: I27cdc72272a9fa4ff5df4968e200fc14f63d0146 Merged-In: I27cdc72272a9fa4ff5df4968e200fc14f63d0146
Diffstat (limited to 'aosp/dynamic_partition_test_utils.h')
0 files changed, 0 insertions, 0 deletions