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 3af2287feec828962788f14580ec80531ad11651..ad4510ac08d7c446f9bcc12d19139965ffb4c232 100644 |
--- a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc |
+++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc |
@@ -590,6 +590,9 @@ void BluetoothAdapterBlueZ::DevicePropertyChanged( |
} |
} |
+ if (property_name == properties->service_data.name()) |
+ device_bluez->UpdateServiceData(); |
+ |
if (property_name == properties->bluetooth_class.name() || |
property_name == properties->appearance.name() || |
property_name == properties->address.name() || |
@@ -599,7 +602,8 @@ void BluetoothAdapterBlueZ::DevicePropertyChanged( |
property_name == properties->connected.name() || |
property_name == properties->uuids.name() || |
property_name == properties->rssi.name() || |
- property_name == properties->tx_power.name()) { |
+ property_name == properties->tx_power.name() || |
+ property_name == properties->service_data.name()) { |
NotifyDeviceChanged(device_bluez); |
} |