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

* commit '97fb8dbbe8473fb53e33d6bb844773f69be7d776':
  LE: Add support for the HID-over-GATT profile (3/3)
This commit is contained in:
Zhihai Xu
2013-08-15 17:28:39 -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);