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

Commit 8a2f153d authored by eric_kuang.rs's avatar eric_kuang.rs Committed by Chris Manton
Browse files

When Tv enables A2dpsink & AvrcpController service, Tv can't play music...

When Tv enables A2dpsink & AvrcpController service, Tv can't play music through speaker when iPhone disconnects and reconnects via bluetooth.
If the RawAddress parameter is NULL from peer, p_msg->peer_addr will not be set.

Change-Id: Iac087c8de9d85f16c842780add3d43132965f2d7
Bug: 215487479
Test: manual test.
parent 04ec65f0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -253,7 +253,8 @@ void avct_bcb_close_ind(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) {
                                  &p_lcb->peer_addr);
      } else {
        (*p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_ccb),
                                  AVCT_BROWSE_DISCONN_IND_EVT, 0, NULL);
                                  AVCT_BROWSE_DISCONN_IND_EVT, 0,
                                  &p_lcb->peer_addr);
      }
      p_ccb->p_bcb = NULL;
    }