summaryrefslogtreecommitdiffstats
path: root/btif
diff options
context:
space:
mode:
authorSyed Ibrahim M <syedibra@broadcom.com>2012-05-30 16:59:50 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:21 -0700
commitfce3b0fa483990a8e38f9863738b8d7253421fa7 (patch)
tree76422fedc1757e81b88c88f8a103622fac271efe /btif
parentfe1b7a6c392ef7ccc371e3bf580f2e853d0d6c65 (diff)
downloadexternal_bluetooth_bluedroid-fce3b0fa483990a8e38f9863738b8d7253421fa7.zip
external_bluetooth_bluedroid-fce3b0fa483990a8e38f9863738b8d7253421fa7.tar.gz
external_bluetooth_bluedroid-fce3b0fa483990a8e38f9863738b8d7253421fa7.tar.bz2
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 <file>..." to unstage) modified: btif/src/btif_hh.c Change-Id: If6e00b0ea4bc0195577b6ee4ce9aa0a899f8b44e
Diffstat (limited to 'btif')
-rwxr-xr-xbtif/src/btif_hh.c1
1 files changed, 1 insertions, 0 deletions
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;
}