Index: device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc |
diff --git a/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc b/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc |
index c32c0ad7e6fe87a0e63dab68153b41858fa13024..730f730dd60d2854204b0642cf12a9e870f05e1b 100644 |
--- a/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc |
+++ b/device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc |
@@ -136,8 +136,10 @@ void BluetoothGattApplicationServiceProvider::CreateAttributeServiceProviders( |
} |
void BluetoothGattApplicationServiceProvider::SendValueChanged( |
+ const dbus::ObjectPath& device_path, |
const dbus::ObjectPath& characteristic_path, |
- const std::vector<uint8_t>& value) { |
+ const std::vector<uint8_t>& value, |
+ bool indicate) { |
auto characteristic = std::find_if( |
characteristic_providers_.begin(), characteristic_providers_.end(), |
[&](const std::unique_ptr<BluetoothGattCharacteristicServiceProvider>& |
@@ -147,7 +149,7 @@ void BluetoothGattApplicationServiceProvider::SendValueChanged( |
<< characteristic_path.value(); |
return; |
} |
- characteristic->get()->SendValueChanged(value); |
+ characteristic->get()->SendValueChanged(device_path, value, indicate); |
} |
// static |