Enable media metrics by default
flips the bit so that media metrics are gathered on the device by
default. This is (not yet) for the uploading of any collected metrics.
This is a standalone CL that can be reverted without any entanglements
to other changes and enhancements. But let's hope it doesn't come to
that.
Bug: 34715856
Test: build and boot -- see collected metrics (dumpsys media.metrics)
diff --git a/media/libmedia/MediaAnalyticsItem.cpp b/media/libmedia/MediaAnalyticsItem.cpp
index 375d1d5..229e747 100644
--- a/media/libmedia/MediaAnalyticsItem.cpp
+++ b/media/libmedia/MediaAnalyticsItem.cpp
@@ -51,7 +51,7 @@
const char * const MediaAnalyticsItem::EnabledProperty = "media.metrics.enabled";
const char * const MediaAnalyticsItem::EnabledPropertyPersist = "persist.media.metrics.enabled";
-const int MediaAnalyticsItem::EnabledProperty_default = 0;
+const int MediaAnalyticsItem::EnabledProperty_default = 1;
// access functions for the class