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..6a20efd76ec43e6d2a553bca64478051bddb53bd 100644 |
| --- a/device/bluetooth/bluetooth_adapter_bluez.cc |
| +++ b/device/bluetooth/bluetooth_adapter_bluez.cc |
| @@ -525,7 +525,9 @@ void BluetoothAdapterBlueZ::DevicePropertyChanged( |
| NotifyDeviceChanged(device_bluez); |
| } |
| - if (property_name == properties->gatt_services.name()) { |
| + if ((property_name == properties->gatt_services.name()) || |
| + (property_name == properties->services_resolved.name() && |
| + properties->services_resolved.value())) { |
| device_bluez->SetGattServicesDiscoveryComplete(true); |
|
ortuno
2016/04/07 15:34:59
I don't think we need to keep track of the value o
vudentz
2016/04/07 17:59:33
I was wondering myself why there was two very simi
ortuno
2016/04/08 19:24:17
I think we should wait until we roll bluez again a
|
| NotifyGattServicesDiscovered(device_bluez); |
| } |