A2DP: Advance btif profile queue on OPENING->other_state transition
* Entering BTIF_AV_STATE_OPENING is only possible through BTIF_AV_CONNECT_REQ_EVT (initiated by us) OR BTA_AV_PENDING_EVT (initiated by remote) from BTIF_AV_STATE_IDLE * If we go from BTIF_AV_CONNECT_REQ_EVT, we must have a pending connection request in btif_profile_queue that should be advanced when we quit BTIF_AV_STATE_OPENING state * This CL adds a flag to indicate whether an AV connection is initiated by us and only advance queue when it is * Also add queue advancement in BTA_AV_REJECT_EVT and BTA_AV_CLOSE_EVT Bug: 67317954 Test: make Change-Id: I16dc8ebf76c6edaacb1f7a4a44e604170ff9a8b0
Loading
Please register or sign in to comment