am 3d74aeaa: Merge "LE: Add support for the HID-over-GATT profile (3/3)" into klp-dev

* commit '3d74aeaa85285425fc5f20cf93f615a4ead6d2fd':
  LE: Add support for the HID-over-GATT profile (3/3)
This commit is contained in:
Zhihai Xu
2013-08-15 17:24:54 -07:00
committed by Android Git Automerger

View File

@@ -346,7 +346,8 @@ final class LocalBluetoothProfileManager {
removedProfiles.remove(mOppProfile);
}
if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hid) &&
if ((BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hid) ||
BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hogp)) &&
mHidProfile != null) {
profiles.add(mHidProfile);
removedProfiles.remove(mHidProfile);