Merge "Group CSIP device based on CAP" am: 8c0ae12d46 am: 88a9f98e2b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1934946 Change-Id: I152495e8722331de6e0f319af21ac927b3d1013c
This commit is contained in:
@@ -68,7 +68,7 @@ public class CsipDeviceManager {
|
||||
}
|
||||
|
||||
for (Map.Entry<Integer, ParcelUuid> entry: groupIdMap.entrySet()) {
|
||||
if (entry.getValue().equals(BluetoothUuid.BASE_UUID)) {
|
||||
if (entry.getValue().equals(BluetoothUuid.CAP)) {
|
||||
return entry.getKey();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -338,7 +338,7 @@ public class LocalBluetoothProfileManager {
|
||||
.getGroupUuidMapByDevice(cachedDevice.getDevice());
|
||||
if (groupIdMap != null) {
|
||||
for (Map.Entry<Integer, ParcelUuid> entry: groupIdMap.entrySet()) {
|
||||
if (entry.getValue().equals(BluetoothUuid.BASE_UUID)) {
|
||||
if (entry.getValue().equals(BluetoothUuid.CAP)) {
|
||||
cachedDevice.setGroupId(entry.getKey());
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user