summaryrefslogtreecommitdiff
path: root/aosp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2021-04-20 20:13:08 -0700
committerDavid Anderson <dvander@google.com>2021-04-28 19:39:31 +0000
commit906f9c3a22c9489f67c3d70d0e00f901b2a6ca53 (patch)
treebb2209e32f8b495d8abcc072742f3fcd282107d4 /aosp
parent6ac3d47472158c2fc5be26965e74a9e5da143e11 (diff)
Report merge failure code from SnapshotMergeReported.
Bug: 185290850 Test: statsd_testdrive Change-Id: I743ca357225140635aae7a0b77338d35e64298da
Diffstat (limited to 'aosp')
-rw-r--r--aosp/cleanup_previous_update_action.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/aosp/cleanup_previous_update_action.cc b/aosp/cleanup_previous_update_action.cc
index a902eafd..dde6b89a 100644
--- a/aosp/cleanup_previous_update_action.cc
+++ b/aosp/cleanup_previous_update_action.cc
@@ -493,7 +493,8 @@ void CleanupPreviousUpdateAction::ReportMergeStats() {
report.total_cow_size_bytes(),
report.estimated_cow_size_bytes(),
report.boot_complete_time_ms(),
- report.boot_complete_to_merge_start_time_ms());
+ report.boot_complete_to_merge_start_time_ms(),
+ static_cast<int32_t>(report.merge_failure_code()));
#endif
}