summaryrefslogtreecommitdiff
path: root/android/hal-bluetooth.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-02-02 22:09:12 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-02-05 09:53:53 +0100
commitdb17fbe4674ba99b80ad1ad37cdb8a00e4235775 (patch)
tree1e8cae6229c99e416e4cfe97f20aba9a6325bfcc /android/hal-bluetooth.c
parent49b7522726c13624dedf2ad32b7a49a48172b13a (diff)
downloadbluez-db17fbe4674ba99b80ad1ad37cdb8a00e4235775.tar.gz
android/handsfree: Add initial files
This adds initial HAL and daemon code for Handsfree profile.
Diffstat (limited to 'android/hal-bluetooth.c')
-rw-r--r--android/hal-bluetooth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c
index 0dac15806..67c91e493 100644
--- a/android/hal-bluetooth.c
+++ b/android/hal-bluetooth.c
@@ -765,6 +765,9 @@ static const void *get_profile_interface(const char *profile_id)
if (!strcmp(profile_id, BT_PROFILE_AV_RC_ID))
return bt_get_avrcp_interface();
+ if (!strcmp(profile_id, BT_PROFILE_HANDSFREE_ID))
+ return bt_get_handsfree_interface();
+
return NULL;
}