summaryrefslogtreecommitdiff
path: root/android/hal-bluetooth.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-11-07 12:42:01 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-11-07 12:51:27 +0100
commite6fb089c502c76a1185970107ab1e15d5c1a152e (patch)
treeba7c2ea99b1044ac9492abd4f3e8acb07520c139 /android/hal-bluetooth.c
parent4c150a0a5b35fdf273ecda674c19c5a3ec1dfbe8 (diff)
downloadbluez-e6fb089c502c76a1185970107ab1e15d5c1a152e.tar.gz
android: Remove temporary BLUEZ_EXTENSION flag
BLUEZ_EXTENSION is replaced by ANDROID_VERSION >= PLATFORM_VER(5, 0, 0) check.
Diffstat (limited to 'android/hal-bluetooth.c')
-rw-r--r--android/hal-bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c
index 15991742c..9b5ce16dd 100644
--- a/android/hal-bluetooth.c
+++ b/android/hal-bluetooth.c
@@ -865,7 +865,7 @@ static const void *get_profile_interface(const char *profile_id)
if (!strcmp(profile_id, BT_PROFILE_HEALTH_ID))
return bt_get_health_interface();
-#if BLUEZ_EXTENSIONS
+#if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0)
if (!strcmp(profile_id, BT_PROFILE_HANDSFREE_CLIENT_ID))
return bt_get_hf_client_interface();