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

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

Issue 2421713002: arc: bluetooth: Expose missing advertise data. (Closed)
Patch Set: Add BlueZ unittests / more comment Created 4 years, 1 month 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.cc ('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 6377518bda73ee12251552d9adb0aa79792d1cf7..e8c136cca1508e7e285e010753e65d53e28e4e7c 100644
--- a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
@@ -592,6 +592,10 @@ void BluetoothAdapterBlueZ::DevicePropertyChanged(
if (property_name == properties->service_data.name())
device_bluez->UpdateServiceData();
+ else if (property_name == properties->manufacturer_data.name())
+ device_bluez->UpdateManufacturerData();
+ else if (property_name == properties->advertising_data_flags.name())
+ device_bluez->UpdateAdvertisingDataFlags();
if (property_name == properties->bluetooth_class.name() ||
property_name == properties->appearance.name() ||
@@ -603,7 +607,9 @@ void BluetoothAdapterBlueZ::DevicePropertyChanged(
property_name == properties->uuids.name() ||
property_name == properties->rssi.name() ||
property_name == properties->tx_power.name() ||
- property_name == properties->service_data.name()) {
+ property_name == properties->service_data.name() ||
+ property_name == properties->manufacturer_data.name() ||
+ property_name == properties->advertising_data_flags.name()) {
NotifyDeviceChanged(device_bluez);
}
« no previous file with comments | « device/bluetooth/bluetooth_device.cc ('k') | device/bluetooth/bluez/bluetooth_bluez_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698