Merge "LE: Add support for the HID-over-GATT profile (3/3)" into klp-dev
This commit is contained in:
3
src/com/android/settings/bluetooth/LocalBluetoothProfileManager.java
Executable file → Normal file
3
src/com/android/settings/bluetooth/LocalBluetoothProfileManager.java
Executable file → Normal file
@@ -346,7 +346,8 @@ final class LocalBluetoothProfileManager {
|
|||||||
removedProfiles.remove(mOppProfile);
|
removedProfiles.remove(mOppProfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hid) &&
|
if ((BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hid) ||
|
||||||
|
BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hogp)) &&
|
||||||
mHidProfile != null) {
|
mHidProfile != null) {
|
||||||
profiles.add(mHidProfile);
|
profiles.add(mHidProfile);
|
||||||
removedProfiles.remove(mHidProfile);
|
removedProfiles.remove(mHidProfile);
|
||||||
|
Reference in New Issue
Block a user