| Index: components/pairing/bluetooth_controller_pairing_controller.cc
|
| diff --git a/components/pairing/bluetooth_controller_pairing_controller.cc b/components/pairing/bluetooth_controller_pairing_controller.cc
|
| index b8c9d0a080f537ab83d8b8beacc5b8f55c0c1275..40f9e763217045d2a81587be53d591382b081a9c 100644
|
| --- a/components/pairing/bluetooth_controller_pairing_controller.cc
|
| +++ b/components/pairing/bluetooth_controller_pairing_controller.cc
|
| @@ -72,9 +72,12 @@ void BluetoothControllerPairingController::DeviceFound(
|
| device::BluetoothDevice* device) {
|
| DCHECK_EQ(current_stage_, STAGE_DEVICES_DISCOVERY);
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| +
|
| + device::BluetoothDevice::UUIDSet uuids = device->GetUUIDs();
|
| if (base::StartsWith(device->GetNameForDisplay(),
|
| base::ASCIIToUTF16(kDeviceNamePrefix),
|
| - base::CompareCase::INSENSITIVE_ASCII)) {
|
| + base::CompareCase::INSENSITIVE_ASCII) &&
|
| + base::ContainsKey(uuids, device::BluetoothUUID(kPairingServiceUUID))) {
|
| discovered_devices_.insert(device->GetAddress());
|
| for (ControllerPairingController::Observer& observer : observers_)
|
| observer.DiscoveredDevicesListChanged();
|
|
|