commit | dd796e81c32293ec4425e7f0ad964a84af0df5ce | [log] [tgz] |
---|---|---|
author | Hemant Gupta <hemantg@codeaurora.org> | Tue Dec 24 13:52:36 2013 +0530 |
committer | Andre Eisenbach <eisenbach@google.com> | Thu Apr 23 21:30:03 2015 +0000 |
tree | 4b528c1d3fec23269c6c83ca4b8bb8326e764b5e | |
parent | 377c7c9afa2b1b827ba10a67185c5c2248e3e7df [diff] |
Bluetooth: HID: Use proper values of connection status This patch fixes issue in retrieving correct connection status when more than one hid device was connected to DUT. In such situation current implementation was sending STATE_DISCONNECTED as connection state because of wrong check of matching device as 1st device in connected device list. Instead of this now actual connection state device is retrieved from HidService. Change-Id: I2c766e9fc6eb9e97c3745016e38fa5c374c16539