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

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

Issue 2369423003: bluetooth: Expose service data from BlueZ (Closed)
Patch Set: Fix comment Created 4 years, 2 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 | « device/bluetooth/bluetooth_device.h ('k') | device/bluetooth/bluez/bluetooth_bluez_unittest.cc » ('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 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);
}
« no previous file with comments | « device/bluetooth/bluetooth_device.h ('k') | device/bluetooth/bluez/bluetooth_bluez_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698