Index: device/bluetooth/adapter.cc |
diff --git a/device/bluetooth/adapter.cc b/device/bluetooth/adapter.cc |
index 564315ed988b52ee09d4d5b6474340cbe334527d..639e7a2fd501b984dcbe1fc63486200e7523ef1c 100644 |
--- a/device/bluetooth/adapter.cc |
+++ b/device/bluetooth/adapter.cc |
@@ -74,4 +74,12 @@ void Adapter::DeviceRemoved(device::BluetoothAdapter* adapter, |
} |
} |
+void Adapter::DeviceChanged(device::BluetoothAdapter* adapter, |
+ device::BluetoothDevice* device) { |
+ if (client_) { |
+ auto device_info = Device::ConstructDeviceInfoStruct(device); |
+ client_->DeviceChanged(std::move(device_info)); |
+ } |
+} |
+ |
} // namespace bluetooth |