Chromium Code Reviews| Index: device/bluetooth/bluetooth_adapter_bluez.cc |
| diff --git a/device/bluetooth/bluetooth_adapter_bluez.cc b/device/bluetooth/bluetooth_adapter_bluez.cc |
| index 91345fcaa8534237b000e057c5016e39033443e0..ed538f000f4fd80eb37a54bff01993bdc2f66dca 100644 |
| --- a/device/bluetooth/bluetooth_adapter_bluez.cc |
| +++ b/device/bluetooth/bluetooth_adapter_bluez.cc |
| @@ -525,7 +525,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/20 20:19:14
We no longer need to call this.
|
| NotifyGattServicesDiscovered(device_bluez); |
| } |