Revert "[Metrics] Cast the parameter for avoiding ambiguity in a..."
Revert submission 2813294-BluetoothContentProfileErrorReported
Reason for revert: Atom should be added after PDD review
Reverted changes: /q/submissionid:2813294-BluetoothContentProfileErrorReported
Change-Id: I07bb5d20a278f772750e4b54245d96ce9e1f57e8
Merged-In: I6a0dc742a2ced2d5fc5c5fca0c941271f4781fb3
diff --git a/system/gd/os/android/metrics.cc b/system/gd/os/android/metrics.cc
index a64f331..e86b2b7 100644
--- a/system/gd/os/android/metrics.cc
+++ b/system/gd/os/android/metrics.cc
@@ -494,12 +494,7 @@
if (!address.IsEmpty()) {
metric_id = MetricIdManager::GetInstance().AllocateId(address);
}
- int ret = stats_write(
- BLUETOOTH_REMOTE_SUPPORTED_FEATURES_REPORTED,
- metric_id,
- page,
- static_cast<int64_t>(features),
- connection_handle);
+ int ret = stats_write(BLUETOOTH_REMOTE_SUPPORTED_FEATURES_REPORTED, metric_id, page, features, connection_handle);
if (ret < 0) {
LOG_WARN(
"Failed for LogMetricBluetoothRemoteSupportedFeatures, "