Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79f3384e authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Zhihai Xu
Browse files

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

bug:8330048
Change-Id: I0999c3af999939aec88eba4c38bca4358c554e69
parent fcfd865d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);