Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1166)

Unified Diff: device/bluetooth/bluetooth_low_energy_discovery_manager_mac.mm

Issue 2205693003: bluetooth: Replace old advertised uuids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Fix mac Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698