Report duration uptime for successful update.
We have metrics for attempt duration, attempt duration uptime and
successful update duration, but not successful update duration uptime,
the existing code already keeps track of this metric, it's just not
being reported, this CL added the last missing piece to report this
metric.
Bug: 77884453
Test: check reported metrics in log
Change-Id: I41d703add2199f54cc6eeb7d92f0d52fc36d9a46
diff --git a/update_attempter_android.cc b/update_attempter_android.cc
index 3ca8db7..2f842ac 100644
--- a/update_attempter_android.cc
+++ b/update_attempter_android.cc
@@ -748,6 +748,7 @@
num_bytes_downloaded,
download_overhead_percentage,
duration,
+ duration_uptime,
static_cast<int>(reboot_count),
0); // url_switch_count
}