summaryrefslogtreecommitdiffstats
path: root/bta
diff options
context:
space:
mode:
authorRavi Nagarajan <nravi@broadcom.com>2012-03-07 02:24:59 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:11 -0700
commit6244405bed75853e51324d1f7c90548ba15321b5 (patch)
tree33902cf375a7f6f598a0e79bc88b3eeb1422aa0f /bta
parent747f3feed0eb837c762d1013b366daef5f5ee696 (diff)
downloadexternal_bluetooth_bluedroid-6244405bed75853e51324d1f7c90548ba15321b5.zip
external_bluetooth_bluedroid-6244405bed75853e51324d1f7c90548ba15321b5.tar.gz
external_bluetooth_bluedroid-6244405bed75853e51324d1f7c90548ba15321b5.tar.bz2
Fix the service id to uuid mapping, which caused the wrong uuid to be sent Java
Change-Id: I86e8d033789269905102cf05d8b66961ae79b9a2
Diffstat (limited to 'bta')
-rw-r--r--bta/dm/bta_dm_act.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bta/dm/bta_dm_act.c b/bta/dm/bta_dm_act.c
index e21dc3e..0f1875a 100644
--- a/bta/dm/bta_dm_act.c
+++ b/bta/dm/bta_dm_act.c
@@ -95,8 +95,8 @@ const UINT16 bta_service_id_to_uuid_lkup_tbl [BTA_MAX_SERVICE_ID] =
UUID_SERVCLASS_DIALUP_NETWORKING, /* BTA_DUN_SERVICE_ID */
UUID_SERVCLASS_FAX, /* BTA_FAX_SERVICE_ID */
UUID_SERVCLASS_LAN_ACCESS_USING_PPP, /* BTA_LAP_SERVICE_ID */
- UUID_SERVCLASS_HEADSET, /* BTA_HSP_SERVICE_ID */
- UUID_SERVCLASS_HF_HANDSFREE, /* BTA_HFP_SERVICE_ID */
+ UUID_SERVCLASS_HEADSET_AUDIO_GATEWAY, /* BTA_HSP_SERVICE_ID */
+ UUID_SERVCLASS_AG_HANDSFREE, /* BTA_HFP_SERVICE_ID */
UUID_SERVCLASS_OBEX_OBJECT_PUSH, /* BTA_OPP_SERVICE_ID */
UUID_SERVCLASS_OBEX_FILE_TRANSFER, /* BTA_FTP_SERVICE_ID */
UUID_SERVCLASS_CORDLESS_TELEPHONY, /* BTA_CTP_SERVICE_ID */
@@ -113,8 +113,8 @@ const UINT16 bta_service_id_to_uuid_lkup_tbl [BTA_MAX_SERVICE_ID] =
UUID_SERVCLASS_HUMAN_INTERFACE, /* BTA_HID_SERVICE_ID */
UUID_SERVCLASS_VIDEO_SINK, /* BTA_VDP_SERVICE_ID */
UUID_SERVCLASS_PBAP_PSE, /* BTA_PBAP_SERVICE_ID */
- UUID_SERVCLASS_HEADSET_AUDIO_GATEWAY, /* BTA_HSP_HS_SERVICE_ID */
- UUID_SERVCLASS_AG_HANDSFREE, /* BTA_HFP_HS_SERVICE_ID */
+ UUID_SERVCLASS_HEADSET, /* BTA_HSP_HS_SERVICE_ID */
+ UUID_SERVCLASS_HF_HANDSFREE, /* BTA_HFP_HS_SERVICE_ID */
UUID_SERVCLASS_MESSAGE_ACCESS, /* BTA_MAP_SERVICE_ID */
UUID_SERVCLASS_MESSAGE_NOTIFICATION, /* BTA_MN_SERVICE_ID */
UUID_SERVCLASS_HDP_PROFILE, /* BTA_HDP_SERVICE_ID */