Replace all keys in sendEids

Bug: 343604097
Test: vts
Change-Id: I3dd03e24384899a9a4eb104ce0c81932b9c6fefc
This commit is contained in:
Ted Wang 2024-05-30 06:07:27 +00:00
parent 56e050362d
commit fbf30ae2db

View file

@ -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();
}