Fix MSAN error.

PiperOrigin-RevId: 657717930
This commit is contained in:
Francis Tsui
2024-07-30 13:50:07 -07:00
committed by Copybara-Service
parent 4d457d134b
commit b088921b57
+1 -1
View File
@@ -1503,7 +1503,7 @@ BlockedVendorId NearbySharingServiceImpl::GetReceivingVendorId() const {
[](const auto& receive_callback) {
return receive_callback.second != BlockedVendorId::kNone;
});
if (bg_vendor_it != foreground_receive_callbacks_map_.end()) {
if (bg_vendor_it != background_receive_callbacks_map_.end()) {
return bg_vendor_it->second;
}
return BlockedVendorId::kNone;