From c957099ca050cf38ef33f68a2a53473c63a15fb5 Mon Sep 17 00:00:00 2001 From: Anay Wadhera Date: Tue, 30 Sep 2025 10:16:10 -0700 Subject: [PATCH] Latest sync into repo with fixes PiperOrigin-RevId: 813321071 --- presence/implementation/advertisement_decoder_rust_impl.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/presence/implementation/advertisement_decoder_rust_impl.cc b/presence/implementation/advertisement_decoder_rust_impl.cc index 415507bd..cecfe2c1 100644 --- a/presence/implementation/advertisement_decoder_rust_impl.cc +++ b/presence/implementation/advertisement_decoder_rust_impl.cc @@ -77,6 +77,11 @@ void ProcessDataElement(const nearby_protocol::V0DataElement& data_element, } case nearby_protocol::V0DataElementKind::Actions: { AddActionsToAdvertisement(data_element.AsActions(), advertisement); + return; + } + default: { + LOG(WARNING) << "Unsupported data element type: " + << (int)data_element.GetKind(); } } }