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

Commit 4bee35b3 authored by Anurag Awasthi's avatar Anurag Awasthi
Browse files

[Metrics] Cast the parameter for avoiding ambiguity in new atoms

Test: m

Bug: 285027829
Change-Id: I706fc205817bc343e492ff15cee7bb378b518bf1
parent 1f95095d
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -429,7 +429,8 @@ void LogMetricBluetoothHalCrashReason(
}
}


void LogMetricBluetoothLocalSupportedFeatures(uint32_t page_num, uint64_t features) {
void LogMetricBluetoothLocalSupportedFeatures(uint32_t page_num, uint64_t features) {
  int ret = stats_write(BLUETOOTH_LOCAL_SUPPORTED_FEATURES_REPORTED, page_num, features);
  int ret = stats_write(
      BLUETOOTH_LOCAL_SUPPORTED_FEATURES_REPORTED, page_num, static_cast<int64_t>(features));
  if (ret < 0) {
  if (ret < 0) {
    LOG_WARN(
    LOG_WARN(
        "Failed for LogMetricBluetoothLocalSupportedFeatures, "
        "Failed for LogMetricBluetoothLocalSupportedFeatures, "