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

Commit 903b20cb authored by Hyundo Moon's avatar Hyundo Moon Committed by Gerrit Code Review
Browse files

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

This reverts commit b335f433.

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

Change-Id: I19a15107a2ca81ea687c3025b5b8a241b850aef3
parent b335f433
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -494,7 +494,12 @@ void LogMetricBluetoothRemoteSupportedFeatures(
  if (!address.IsEmpty()) {
  if (!address.IsEmpty()) {
    metric_id = MetricIdManager::GetInstance().AllocateId(address);
    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) {
  if (ret < 0) {
    LOG_WARN(
    LOG_WARN(
        "Failed for LogMetricBluetoothRemoteSupportedFeatures, "
        "Failed for LogMetricBluetoothRemoteSupportedFeatures, "