| 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 6a0a1147dc37f09517792a1115c6dc136ad6ffb9..0ab81e4746454401a5ec801f07e6a28784da5664 100644
|
| --- a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
|
| +++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
|
| @@ -1145,7 +1145,9 @@ bool BluetoothAdapterBlueZ::SendValueChanged(
|
| BluetoothLocalGattCharacteristicBlueZ* characteristic,
|
| const std::vector<uint8_t>& value) {
|
| if (registered_gatt_services_.count(
|
| - characteristic->GetService()->object_path()) == 0)
|
| + static_cast<BluetoothLocalGattServiceBlueZ*>(
|
| + characteristic->GetService())
|
| + ->object_path()) == 0)
|
| return false;
|
| gatt_application_provider_->SendValueChanged(characteristic->object_path(),
|
| value);
|
|
|