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 c5cdc9ad39d1e4bf473a5fc56158589fa1ca67f0..18cc1edd72db83554c2f2b24d0dfe6b5ba6ea677 100644 |
--- a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc |
+++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc |
@@ -1129,24 +1129,15 @@ |
} |
bool BluetoothAdapterBlueZ::SendValueChanged( |
- const device::BluetoothDevice* device, |
BluetoothLocalGattCharacteristicBlueZ* characteristic, |
- const std::vector<uint8_t>& value, |
- bool indicate) { |
+ const std::vector<uint8_t>& value) { |
if (registered_gatt_services_.count( |
static_cast<BluetoothLocalGattServiceBlueZ*>( |
characteristic->GetService()) |
->object_path()) == 0) |
return false; |
- |
- dbus::ObjectPath device_path; |
- if (device) { |
- device_path = |
- static_cast<const BluetoothDeviceBlueZ*>(device)->object_path(); |
- } |
- |
- gatt_application_provider_->SendValueChanged( |
- device_path, characteristic->object_path(), value, indicate); |
+ gatt_application_provider_->SendValueChanged(characteristic->object_path(), |
+ value); |
return true; |
} |