commit | fbf30ae2db3b974317e00e4f9606081b0210a76b | [log] [tgz] |
---|---|---|
author | Ted Wang <tedwang@google.com> | Thu May 30 06:07:27 2024 +0000 |
committer | Ted Wang <tedwang@google.com> | Wed Jun 05 08:20:06 2024 +0000 |
tree | 5475c0ccbddd99b4d8d301dfedcee406fe31b7cc | |
parent | 56e050362dffbd385a198428c34683a3b0209538 [diff] |
Replace all keys in sendEids Bug: 343604097 Test: vts Change-Id: I3dd03e24384899a9a4eb104ce0c81932b9c6fefc
diff --git a/bluetooth/finder/aidl/default/BluetoothFinder.cpp b/bluetooth/finder/aidl/default/BluetoothFinder.cpp index 236a1f8..a43846b 100644 --- a/bluetooth/finder/aidl/default/BluetoothFinder.cpp +++ b/bluetooth/finder/aidl/default/BluetoothFinder.cpp
@@ -19,7 +19,7 @@ namespace aidl::android::hardware::bluetooth::finder::impl { ::ndk::ScopedAStatus BluetoothFinder::sendEids(const ::std::vector<Eid>& keys) { - keys_.insert(keys_.end(), keys.begin(), keys.end()); + keys_.assign(keys.begin(), keys.end()); return ::ndk::ScopedAStatus::ok(); }