Add DynamicPartitionControlInterface::CleanupSuccessfulUpdate am: 2257ee178b am: d88dda4799 am: 3fdb492906
Change-Id: I86895148f5ba893a33963e7759de5925d9d9eb8e
diff --git a/metrics_reporter_android.cc b/metrics_reporter_android.cc
index 9cef43c..24740c8 100644
--- a/metrics_reporter_android.cc
+++ b/metrics_reporter_android.cc
@@ -100,13 +100,13 @@
android::util::stats_write(
android::util::UPDATE_ENGINE_SUCCESSFUL_UPDATE_REPORTED,
- attempt_count,
+ static_cast<int32_t>(attempt_count),
GetStatsdEnumValue(static_cast<int32_t>(payload_type)),
- payload_size_mib,
- total_bytes_downloaded,
- download_overhead_percentage,
- total_duration.InMinutes(),
- reboot_count);
+ static_cast<int32_t>(payload_size_mib),
+ static_cast<int32_t>(total_bytes_downloaded),
+ static_cast<int32_t>(download_overhead_percentage),
+ static_cast<int32_t>(total_duration.InMinutes()),
+ static_cast<int32_t>(reboot_count));
}
void MetricsReporterAndroid::ReportAbnormallyTerminatedUpdateAttemptMetrics() {