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

Unified Diff: device/bluetooth/bluetooth_adapter_bluez.cc

Issue 1565773002: Clear the BLE services list on disconnect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased onto master to solve conflicts 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
« no previous file with comments | « content/browser/bluetooth/bluetooth_dispatcher_host.cc ('k') | device/bluetooth/bluetooth_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/browser/bluetooth/bluetooth_dispatcher_host.cc ('k') | device/bluetooth/bluetooth_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698