Add an atom for TimeZoneDataVersion
The atom records the tzdb version in use on the device
as reported by the public SDK ICU APIs.
Test: build / boot
Bug: 119010737
Change-Id: Ifa2bed2eabf192da7adbc29b064cbb41f85f9ba7
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto
index 873b772..57c32c7 100644
--- a/cmds/statsd/src/atoms.proto
+++ b/cmds/statsd/src/atoms.proto
@@ -302,6 +302,7 @@
RoleHolder role_holder = 10049;
DangerousPermissionState dangerous_permission_state = 10050;
TrainInfo train_info = 10051;
+ TimeZoneDataInfo time_zone_data_info = 10052;
}
// DO NOT USE field numbers above 100,000 in AOSP.
@@ -5564,3 +5565,11 @@
// [0,100] progress for the assist gesture.
optional int32 progress = 1;
}
+
+/*
+ * Information about the time zone data on a device.
+ */
+message TimeZoneDataInfo {
+ // A version identifier for the data set on device. e.g. "2018i"
+ optional string tzdb_version = 1;
+}