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

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

Issue 2421713002: arc: bluetooth: Expose missing advertise data. (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
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 ad4510ac08d7c446f9bcc12d19139965ffb4c232..6a552d37c89106c0d4be6788f49258daea7e0f7f 100644
--- a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
@@ -593,6 +593,9 @@ void BluetoothAdapterBlueZ::DevicePropertyChanged(
if (property_name == properties->service_data.name())
device_bluez->UpdateServiceData();
+ if (property_name == properties->manufacturer_data.name())
+ device_bluez->UpdateManufacturerData();
+
if (property_name == properties->bluetooth_class.name() ||
property_name == properties->appearance.name() ||
property_name == properties->address.name() ||
@@ -603,7 +606,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()) {
ortuno 2016/10/18 01:41:18 Should flags be included here?
puthik_chromium 2016/11/02 23:20:38 Yes
NotifyDeviceChanged(device_bluez);
}

Powered by Google App Engine
This is Rietveld 408576698