fhub: reject A2DP(sink)/AVRCP(controller) multi connection 00/281700/1
authorAyush Garg <ayush.garg@samsung.com>
Tue, 20 Sep 2022 06:46:28 +0000 (12:16 +0530)
committerAyush Garg <ayush.garg@samsung.com>
Wed, 21 Sep 2022 02:05:54 +0000 (07:35 +0530)
commit8c65b4c0d710b12dbcf349336fbceb333322b28a
treee7bb530c400e2165af173e99e6ea54854cbc9da7
parent0272b18fa8612932672aea28d107a1b776dc5808
fhub: reject A2DP(sink)/AVRCP(controller) multi connection

if there is connected A2DP source device,
reject incoming A2DP(local: sink, remote: source) connection.
if there is connected AVRCP target device,
reject incoming AVRCP(local: CT, remote: TG) connection.

Change-Id: Id455b77641977c921eec936aaa4aa98552619652
Signed-off-by: shss-choi <shss.choi@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
bt-service/services/audio/a2dp_src/bt-service-a2dp-src.c
bt-service/services/audio/bt-service-audio.c
bt-service/services/device/bt-service-core-device.c