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

Unified Diff: device/bluetooth/bluetooth_adapter_bluez.cc

Issue 1592733002: Clear the BLE services list on disconnect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the bluetooth/getPrimaryService.html timeout issue Created 4 years, 11 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_bluez.cc
diff --git a/device/bluetooth/bluetooth_adapter_bluez.cc b/device/bluetooth/bluetooth_adapter_bluez.cc
index 0997dd98cf319ad8bfec7d764620fdc448c74db2..4b50cd72f86bcea6ba5dcb6339bb74417af5840b 100644
--- a/device/bluetooth/bluetooth_adapter_bluez.cc
+++ b/device/bluetooth/bluetooth_adapter_bluez.cc
@@ -938,6 +938,7 @@ void BluetoothAdapterBlueZ::NotifyGattServicesDiscovered(
BluetoothDeviceBlueZ* device) {
DCHECK(device->adapter_ == this);
+ device->SetGattServicesDiscoveryComplete(true);
FOR_EACH_OBSERVER(BluetoothAdapter::Observer, observers_,
GattServicesDiscovered(this, device));
}
« no previous file with comments | « content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc ('k') | device/bluetooth/bluetooth_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698