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

Unified Diff: device/bluetooth/bluez/bluetooth_adapter_bluez.cc

Issue 1862093002: bluetooth: replace GattServices D-Bus property with ServicesResolved (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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 | « AUTHORS ('k') | device/bluetooth/bluez/bluetooth_device_bluez.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluez/bluetooth_adapter_bluez.cc
diff --git a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
index 944c10ec75ed558efd99cbd0d15213dc2b4760d8..4d2ecce037224fad6ce3a0bd6bf8b2d387a0d0da 100644
--- a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
@@ -524,7 +524,8 @@ void BluetoothAdapterBlueZ::DevicePropertyChanged(
NotifyDeviceChanged(device_bluez);
}
- if (property_name == properties->gatt_services.name()) {
+ if (property_name == properties->services_resolved.name() &&
+ properties->services_resolved.value()) {
device_bluez->SetGattServicesDiscoveryComplete(true);
ortuno 2016/04/26 14:12:14 You no longer need to set this value.
vudentz 2016/04/27 10:16:16 Done.
NotifyGattServicesDiscovered(device_bluez);
}
« no previous file with comments | « AUTHORS ('k') | device/bluetooth/bluez/bluetooth_device_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698