mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Fix MSAN error.
PiperOrigin-RevId: 657717930
This commit is contained in:
committed by
Copybara-Service
parent
4d457d134b
commit
b088921b57
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user