Chromium Code Reviews| Index: device/bluetooth/bluetooth_low_energy_discovery_manager_mac.mm |
| diff --git a/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.mm b/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.mm |
| index 77dafb03c8d62ac8ccb545054ed18f306e1442e3..07e6d364b049ff1b4f3ab3c165d9b6d954b24cea 100644 |
| --- a/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.mm |
| +++ b/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.mm |
| @@ -64,7 +64,12 @@ void BluetoothLowEnergyDiscoveryManagerMac::TryStartDiscovery() { |
| }; |
| VLOG(1) << "TryStartDiscovery scanForPeripheralsWithServices"; |
| - [central_manager_ scanForPeripheralsWithServices:services options:nil]; |
| + [central_manager_ |
| + scanForPeripheralsWithServices:services |
| + options:@{ |
| + CBCentralManagerScanOptionAllowDuplicatesKey : |
|
scheib
2016/08/05 18:49:31
Add a comment explaining why CBCentralManagerScanO
ortuno
2016/08/05 23:00:17
This has to do with the reason stated in bluetooth
|
| + @YES |
| + }]; |
| pending_ = false; |
| } |