Fix missing avrcp disconnect request
When user tries to disconnect a2dp profile connection to remote
device, there is an unexpected case that a remote node is not
disconnected neatly and the remote node tries to re-connect after a while.
The reason of this issue is from alive avrcp connection
that is established during a2dp connecting phase.
We need to consider missing avrcp disconnection after a2dp disconnection.
So this tries to disconnect avrcp channel followed by a2dp disconnection.
But if the channel is already disconnected by such a remote node,
disconnection procedure will do nothing in bt stack.
Bug: 128352535
Bug: 137776758
Test: Test on phone and airpod as a remote a2dp(avrcp) node
Change-Id: I1e18ffb354d7f9d1aef7ebdd8b582febd479794f
Merged-In: I1e18ffb354d7f9d1aef7ebdd8b582febd479794f
Signed-off-by:
Joonghong Park <joonghong.park@samsung.com>
Loading
Please register or sign in to comment