From ff1b50f1fe6fee495bc4ac50cb51099807bed608 Mon Sep 17 00:00:00 2001 From: Francis Tsui Date: Thu, 18 Sep 2025 11:42:39 -0700 Subject: [PATCH] Add fields to SendAttachmentsStart to track whether advanced protection is enabled for the transfer. PiperOrigin-RevId: 808671647 --- sharing/proto/analytics/nearby_sharing_log.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sharing/proto/analytics/nearby_sharing_log.proto b/sharing/proto/analytics/nearby_sharing_log.proto index a4dceec0..1d17d6db 100644 --- a/sharing/proto/analytics/nearby_sharing_log.proto +++ b/sharing/proto/analytics/nearby_sharing_log.proto @@ -568,6 +568,12 @@ message SharingLog { // Deprecated. Use share_target_info.has_matching_qr_code instead. optional bool qr_code_flow = 5 [deprecated = true]; optional ShareTargetInfo share_target_info = 6; + // True if the advanced protection is enabled and the sender needed to + // confirm the transfer. + optional bool advanced_protection_enabled = 7; + // True if the advanced protection flag from NearbyService BE is different + // from the mendel flag. + optional bool advanced_protection_mismatch = 8; } // EventType: SEND_ATTACHMENTS_END