From 9f90b7c569f0d20f2e020c2b6132c74f72cd0569 Mon Sep 17 00:00:00 2001 From: Francis Tsui Date: Tue, 3 Dec 2024 13:38:20 -0800 Subject: [PATCH] Add receive_disabled field to ShareTarget PiperOrigin-RevId: 702453972 --- sharing/share_target.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sharing/share_target.h b/sharing/share_target.h index cca6b76e..66388476 100644 --- a/sharing/share_target.h +++ b/sharing/share_target.h @@ -15,6 +15,7 @@ #ifndef THIRD_PARTY_NEARBY_SHARING_SHARE_TARGET_H_ #define THIRD_PARTY_NEARBY_SHARING_SHARE_TARGET_H_ +#include #include #include #include @@ -57,6 +58,8 @@ struct ShareTarget { bool for_self_share = false; // Vendor ID of the target. This can change over the lifetime of the target. uint8_t vendor_id = 0; + // True if the share target is not ready for receiving. + bool receive_disabled = false; }; } // namespace sharing