From fce3b0fa483990a8e38f9863738b8d7253421fa7 Mon Sep 17 00:00:00 2001 From: Syed Ibrahim M Date: Wed, 30 May 2012 16:59:50 +0530 Subject: After calling BTA_HHOpen(), sending a HAL callback for connection state changed to BTHH_CONN_STATE_CONNECTING to sync up the HIDService java class to the right connection state. On branch main_syedibra_1462879 Changes to be committed: (use "git reset HEAD ..." to unstage) modified: btif/src/btif_hh.c Change-Id: If6e00b0ea4bc0195577b6ee4ce9aa0a899f8b44e --- btif/src/btif_hh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/btif/src/btif_hh.c b/btif/src/btif_hh.c index c9aa530..0a987ab 100755 --- a/btif/src/btif_hh.c +++ b/btif/src/btif_hh.c @@ -485,6 +485,7 @@ bt_status_t btif_hh_connect(bt_bdaddr_t *bd_addr) return BT_STATUS_FAIL; } + HAL_CBACK(bt_hh_callbacks, connection_state_cb, bd_addr, BTHH_CONN_STATE_CONNECTING); return BT_STATUS_SUCCESS; } -- cgit v1.1