HFP: remove the dropped HF connection request message in btif connect_queue...
HFP: remove the dropped HF connection request message in btif connect_queue and advance to the next scheduled connection request. * hf connect-request message does not be handled in btif connect_queue when remote headset has already reconnected hfp, but it did not be removed, either. it will make subsequent connecting request messsages blocked in btif connect_queue and never be handled. * Add unit test for btif_profile_queue to verify the case when connect_cb() returns non BT_STATUS_SUCCESS Bug: 140846154 Test: Connected 2 headset (HS1, HS2) -> Disable Bluetooth and Turn Off HS2 -> Enable Bluetooth and Turn On HS2 -> Check hfp and a2dp profole state after HS2 connected Change-Id: I503fba1975054efe3180ecf1f7daa917fb6edf99
Loading
Please register or sign in to comment