Merge "Replace all keys in sendEids" into main

This commit is contained in:
Ted Wang 2024-06-06 06:14:38 +00:00 committed by Gerrit Code Review
commit 20aea225f1

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