OSDN Git Service

android: Enable AV interface
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Thu, 24 Oct 2013 07:10:39 +0000 (10:10 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 24 Oct 2013 07:24:24 +0000 (10:24 +0300)
Include av_interface to get_interface function.

android/hal-bluetooth.c

index d988778..52c7c68 100644 (file)
@@ -310,6 +310,9 @@ static const void *get_profile_interface(const char *profile_id)
        if (!strcmp(profile_id, BT_PROFILE_PAN_ID))
                return bt_get_pan_interface();
 
+       if (!strcmp(profile_id, BT_PROFILE_ADVANCED_AUDIO_ID))
+               return bt_get_av_interface();
+
        return NULL;
 }