bluetooth: Add support for automatic switch between hsp and a2dp profiles also for...
authorPali Rohár <pali.rohar@gmail.com>
Sun, 11 Sep 2016 15:16:38 +0000 (17:16 +0200)
committerArun Raghavan <arun@arunraghavan.net>
Fri, 23 Sep 2016 12:07:06 +0000 (17:37 +0530)
commite32a462cc4201d9c3c7305d0f806d16a09f08875
treed994af480b09646937d708f3c4c000a7e06b5d5a
parent768e57c8a07c6fc44e2dcbafd063439ebccd0cf7
bluetooth: Add support for automatic switch between hsp and a2dp profiles also for bluez5

Bluez5 uses different profile names as bluez4, so we need to check for
a2dp_sink and headset_head_unit too for bluez5 support.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
src/modules/bluetooth/module-bluetooth-policy.c