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

Commit 4f83e206 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "BluetoothAudioHAL: MTU not exceed an AVDTP packet" am: d9b02b1f

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1560332

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I65cb8e66ac61e55c26491864b146e17a362f4def
parents 89556f65 d9b02b1f
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -280,6 +280,9 @@ bool a2dp_get_selected_hal_codec_config(CodecConfiguration* codec_config) {
  } else {
  } else {
    codec_config->peerMtu = peer_param.peer_mtu;
    codec_config->peerMtu = peer_param.peer_mtu;
  }
  }
  if (codec_config->peerMtu > MAX_3MBPS_AVDTP_MTU) {
    codec_config->peerMtu = MAX_3MBPS_AVDTP_MTU;
  }
  LOG(INFO) << __func__ << ": CodecConfiguration=" << toString(*codec_config);
  LOG(INFO) << __func__ << ": CodecConfiguration=" << toString(*codec_config);
  return true;
  return true;
}
}