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

Commit d54410ab authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Android (Google) Code Review
Browse files

Merge "LE Audio: don't use stored device type when choosing Bond transport" into tm-qpr-dev

parents bdbcecef 347c992d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -676,14 +676,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;
}