Add two more fields in ART metrics (apk type and isa).
Bug: 177694884
Test: atest ArtStatsLogUtilsTest
Change-Id: Icff7bbdca59a9fa21d075ad9f99253c4e2108b79
Merged-In: Icff7bbdca59a9fa21d075ad9f99253c4e2108b79
diff --git a/runtime/metrics/statsd.cc b/runtime/metrics/statsd.cc
index 0d682fe..ef11e3d 100644
--- a/runtime/metrics/statsd.cc
+++ b/runtime/metrics/statsd.cc
@@ -155,7 +155,9 @@
// constant is not present in all branches)
datum_id.value(),
static_cast<int64_t>(value),
- /*dex_metadata_type=*/0); // Update the value once the enum is changed
+ statsd::ART_DATUM_REPORTED__DEX_METADATA_TYPE__ART_DEX_METADATA_TYPE_UNKNOWN,
+ statsd::ART_DATUM_REPORTED__APK_TYPE__ART_APK_TYPE_UNKNOWN,
+ statsd::ART_DATUM_REPORTED__ISA__ART_ISA_UNKNOWN);
}
}