Diff between a8a4a233b9de64b1b15c06a00a945614c8b8065a and 16c6bf15d544836becd77ae73a50f508d7bbf598

Changed Files

File Additions Deletions Status
android/a2dp.c +2 -0 modified

Full Patch

diff --git a/android/a2dp.c b/android/a2dp.c
index 962e7f5..731fa16 100644
--- a/android/a2dp.c
+++ b/android/a2dp.c
@@ -227,6 +227,8 @@ static void bt_a2dp_notify_state(struct a2dp_device *dev, uint8_t state)
 	if (state != HAL_A2DP_STATE_DISCONNECTED)
 		return;
 
+	bt_avrcp_disconnect(&dev->dst);
+
 	a2dp_device_free(dev);
 }