From 54cdfabe7c0ed98732d0641ffe8b19ff7284e7d4 Mon Sep 17 00:00:00 2001 From: zzy Date: Wed, 15 Aug 2012 18:03:15 -0700 Subject: Added new storage code and bluez configuration migration support Filter out hid device from bluez migration. Change-Id: I8b5eb29f37ca37e97b728f69063266a1b0a61eb8 Conflicts: main/Android.mk --- btif/src/btif_dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'btif/src/btif_dm.c') diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c index d31e1ca..31b6435 100755 --- a/btif/src/btif_dm.c +++ b/btif/src/btif_dm.c @@ -830,7 +830,7 @@ static void btif_dm_search_devices_evt (UINT16 event, char *p_param) properties[0].type = BT_PROPERTY_BDNAME; properties[0].val = p_search_data->disc_res.bd_name; - properties[0].len = strlen((char *)p_search_data->disc_res.bd_name)+1; + properties[0].len = strlen((char *)p_search_data->disc_res.bd_name); bdcpy(bdaddr.address, p_search_data->disc_res.bd_addr); status = btif_storage_set_remote_device_property(&bdaddr, &properties[0]); @@ -900,7 +900,7 @@ static void btif_dm_search_devices_evt (UINT16 event, char *p_param) if (bdname.name[0]) { BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], BT_PROPERTY_BDNAME, - strlen((char *)bdname.name)+1, &bdname); + strlen((char *)bdname.name), &bdname); num_properties++; } -- cgit v1.1