Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8f73e3e authored by Hyundo Moon's avatar Hyundo Moon
Browse files

Revert^2 "[Metrics] Cast the parameter for avoiding ambiguity in a..."

This reverts commit 24cc661a.

Reason for revert: The original CL can be submitted independently. It doesn't need PDD review.

Bug: 294797589
Test: m -j;
Change-Id: Ib3bf9a9df640fb2d15600d7ad850917f285ee8f1
parent 24cc661a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -494,7 +494,12 @@ void LogMetricBluetoothRemoteSupportedFeatures(
  if (!address.IsEmpty()) {
    metric_id = MetricIdManager::GetInstance().AllocateId(address);
  }
  int ret = stats_write(BLUETOOTH_REMOTE_SUPPORTED_FEATURES_REPORTED, metric_id, page, features, connection_handle);
  int ret = stats_write(
      BLUETOOTH_REMOTE_SUPPORTED_FEATURES_REPORTED,
      metric_id,
      page,
      static_cast<int64_t>(features),
      connection_handle);
  if (ret < 0) {
    LOG_WARN(
        "Failed for LogMetricBluetoothRemoteSupportedFeatures, "