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

Unified Diff: device/bluetooth/bluetooth_adapter_mac.mm

Issue 1414553004: bluetooth: android: Accumulate advertised UUIDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-i541710-
Patch Set: Fix armansito request, and only report update if UUIDs changed. Created 5 years, 2 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_adapter_mac.mm
diff --git a/device/bluetooth/bluetooth_adapter_mac.mm b/device/bluetooth/bluetooth_adapter_mac.mm
index e1a1bd4136f7461b86c431d9314704bb20321457..1d51e702226fe5ba1ea92833b8c2b1b6705e746d 100644
--- a/device/bluetooth/bluetooth_adapter_mac.mm
+++ b/device/bluetooth/bluetooth_adapter_mac.mm
@@ -493,6 +493,7 @@ void BluetoothAdapterMac::LowEnergyDeviceUpdated(
// A device has an update.
VLOG(2) << "LowEnergyDeviceUpdated";
device_mac->Update(peripheral, advertisement_data, rssi);
+ // TODO(scheib): Call DeviceChanged only if UUIDs change. crbug.com/547106
FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
DeviceChanged(this, device_mac));
}

Powered by Google App Engine
This is Rietveld 408576698