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

Commit f9e306a0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix stack not acking status to audio when A2DP start failed"

parents 80b719d5 a577ba57
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -100,7 +100,11 @@ bool btif_a2dp_on_started(const RawAddress& peer_addr,
  } else if (pending_start) {
    LOG_ERROR(LOG_TAG, "%s: peer %s A2DP start request failed: status = %d",
              __func__, peer_addr.ToString().c_str(), p_av_start->status);
    if (btif_av_is_a2dp_offload_enabled()) {
      btif_a2dp_audio_on_started(p_av_start->status);
    } else {
      btif_a2dp_command_ack(A2DP_CTRL_ACK_FAILURE);
    }
    ack = true;
  }
  return ack;