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

Commit a4f96401 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "LE Audio: don't use stored device type when choosing Bond transport"

parents a3771759 1c8fe24f
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -651,14 +651,6 @@ static bool is_device_le_audio_capable(const RawAddress bd_addr) {
    return true;
  }

  int device_type = 0;
  std::string addrstr = bd_addr.ToString();
  const char* bdstr = addrstr.c_str();
  btif_config_get_int(bdstr, "DevType", &device_type);
  if ((device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE) {
    return true;
  }

  return false;
}