From 79f3384eaa10d45270cb2f61a1314746da0e52ce Mon Sep 17 00:00:00 2001 From: Andre Eisenbach Date: Thu, 7 Mar 2013 18:05:12 -0800 Subject: [PATCH] LE: Add support for the HID-over-GATT profile (3/3) bug:8330048 Change-Id: I0999c3af999939aec88eba4c38bca4358c554e69 --- .../settings/bluetooth/LocalBluetoothProfileManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 src/com/android/settings/bluetooth/LocalBluetoothProfileManager.java diff --git a/src/com/android/settings/bluetooth/LocalBluetoothProfileManager.java b/src/com/android/settings/bluetooth/LocalBluetoothProfileManager.java old mode 100755 new mode 100644 index 5d254aec6b8..59a694442ab --- a/src/com/android/settings/bluetooth/LocalBluetoothProfileManager.java +++ b/src/com/android/settings/bluetooth/LocalBluetoothProfileManager.java @@ -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);