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

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

Merge "Enable incoming connection for AVRCP Controller"

parents 3b706911 5908ab8a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -594,12 +594,12 @@ void bta_av_rc_opened(tBTA_AV_CB *p_cb, tBTA_AV_DATA *p_data)
    if (rc_open.peer_features == 0)
    {
        /* we have not done SDP on peer RC capabilities.
         * peer must have initiated the RC connection
         * We Don't have SDP records of Peer, so we by
         * default will take values depending upon registered
         * features */
         * peer must have initiated the RC connection */
        if (p_cb->features & BTA_AV_FEAT_RCCT)
            rc_open.peer_features |= BTA_AV_FEAT_RCTG;
        if (p_cb->features & BTA_AV_FEAT_RCTG)
            rc_open.peer_features |= BTA_AV_FEAT_RCCT;

        bta_av_rc_disc(disc);
    }
    (*p_cb->p_cback)(BTA_AV_RC_OPEN_EVT, (tBTA_AV *) &rc_open);