Add "connecting" and "disconnecting" states to HID Device.
Currently the upper java layers have full support for all four connection states, yet the lower stack only reports about "connected" and "disconnected". This patch adds sending "connecting" and "disconnecting" messages when bta_hd_connect_act and bta_hd_disconnect_act finish successfully. Test: build, run, logcat Change-Id: I00f9f414daa3854198ff9eee19e9c98a2e18f603
Showing
- system/bta/hd/bta_hd_act.cc 16 additions, 0 deletionssystem/bta/hd/bta_hd_act.cc
- system/bta/include/bta_hd_api.h 1 addition, 0 deletionssystem/bta/include/bta_hd_api.h
- system/btif/src/btif_hd.cc 7 additions, 0 deletionssystem/btif/src/btif_hd.cc
- system/btif/src/btif_util.cc 1 addition, 0 deletionssystem/btif/src/btif_util.cc
Loading
Please register or sign in to comment