Updating proto with fields for API duration
Test: manual and unit testing
Bug: 263304156
Change-Id: I0e4634beae494b9fdfba1e9f98174bc89bcbf46a
diff --git a/stats/atoms.proto b/stats/atoms.proto
index 3a5ae54..bca9e08 100644
--- a/stats/atoms.proto
+++ b/stats/atoms.proto
@@ -5417,9 +5417,13 @@
CDM = 9;
}
- repeated ApiType api_type = 22;
+ optional ApiType api_type = 22;
- repeated int64 api_timestamp = 23;
+ optional int64 api_timestamp = 23;
+
+ optional int64 api_before_fgs_start_duration = 28;
+
+ optional int64 api_after_fgs_end_duration = 29;
// Keep it in sync with ActivityManager.ProcessCapability.
enum ProcessCapability {