Bluetooth: Support MAP Client role on Bluedroid.
Implementation changes from BTA and BTIF layer to support
MCE role on Bluedroid stack.
Change-Id: I8547b0f28338e83edabae969121872ca23fdcb36
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c
index 6b0daa8..8ab9137 100644
--- a/btif/src/btif_dm.c
+++ b/btif/src/btif_dm.c
@@ -159,6 +159,7 @@
extern bt_status_t btif_av_execute_service(BOOLEAN b_enable);
extern bt_status_t btif_hh_execute_service(BOOLEAN b_enable);
extern bt_status_t btif_hf_client_execute_service(BOOLEAN b_enable);
+extern bt_status_t btif_mce_execute_service(BOOLEAN b_enable);
extern int btif_hh_connect(bt_bdaddr_t *bd_addr);
extern void bta_gatt_convert_uuid16_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT16 uuid_16);
@@ -190,6 +191,10 @@
{
btif_hf_client_execute_service(b_enable);
}break;
+ case BTA_MAP_SERVICE_ID:
+ {
+ btif_mce_execute_service(b_enable);
+ }break;
default:
BTIF_TRACE_ERROR("%s: Unknown service being enabled", __FUNCTION__);
return BT_STATUS_FAIL;