Merge "Replace all keys in sendEids" into main am: 20aea225f1

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3105841

Change-Id: I5a63ad058fd7a1597c3e6a82f06f1c0203a79683
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ted Wang 2024-06-06 06:27:08 +00:00 committed by Automerger Merge Worker
commit a7942bf9ec

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