LE: Add support for the HID-over-GATT profile (3/3)

bug:8330048
Change-Id: I0999c3af999939aec88eba4c38bca4358c554e69
This commit is contained in:
Andre Eisenbach
2013-03-07 18:05:12 -08:00
committed by Zhihai Xu
parent fcfd865d5c
commit 79f3384eaa

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);