Index: device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc |
diff --git a/device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc b/device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc |
index cbc240dc5aa0517c8548fdb05e59508fa46530d3..de772843180db56ac8b838b2fb85130796e1435e 100644 |
--- a/device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc |
+++ b/device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc |
@@ -106,10 +106,14 @@ FakeBluetoothGattCharacteristicServiceProvider:: |
} |
void FakeBluetoothGattCharacteristicServiceProvider::SendValueChanged( |
- const std::vector<uint8_t>& value) { |
+ const dbus::ObjectPath& device_path, |
+ const std::vector<uint8_t>& value, |
+ bool indicate) { |
VLOG(1) << "Sent characteristic value changed: " << object_path_.value() |
<< " UUID: " << uuid_; |
- sent_value_ = value; |
+ last_device_path_ = device_path; |
+ last_value_ = value; |
+ last_indicate_flag_ = indicate; |
} |
void FakeBluetoothGattCharacteristicServiceProvider::GetValue( |