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

Commit f3d7e484 authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "Only initiate Codec Negotation if locally supported." into tm-qpr-dev am: b4dd1a0d

parents e77294ad b4dd1a0d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -569,6 +569,7 @@ void bta_ag_codec_negotiate(tBTA_AG_SCB* p_scb) {
  }

  if ((p_scb->codec_updated || p_scb->codec_fallback) &&
      (p_scb->features & BTA_AG_FEAT_CODEC) &&
      (p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC)) {
    LOG_INFO("Starting codec negotiation");
    /* Change the power mode to Active until SCO open is completed. */