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

Commit 0d4819a5 authored by Hyundo Moon's avatar Hyundo Moon Committed by Automerger Merge Worker
Browse files

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

Merge "Revert^2 "[Metrics] Cast the parameter for avoiding ambiguity in a..."" into main am: 3394c7db

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2836130



Change-Id: Ib0ac40ebdc41a6b4df42c65211ab237522199583
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 324bc03b 3394c7db
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, "