From 296364fbf56c3c3af162708e30a168b6feb779ff Mon Sep 17 00:00:00 2001 From: hai007 Date: Fri, 13 Dec 2024 02:07:25 -0800 Subject: [PATCH] [Analytics] Deprecate opt-in related fields in EventMetadata. PiperOrigin-RevId: 705804217 --- sharing/proto/analytics/nearby_sharing_log.proto | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sharing/proto/analytics/nearby_sharing_log.proto b/sharing/proto/analytics/nearby_sharing_log.proto index cd34e042..811761c8 100644 --- a/sharing/proto/analytics/nearby_sharing_log.proto +++ b/sharing/proto/analytics/nearby_sharing_log.proto @@ -425,13 +425,16 @@ message SharingLog { optional location.nearby.proto.sharing.SharingUseCase use_case = 1; // The opt-in status before the user enters the first opt-in screen in each // time file share or it is always “true” if the user has opted in before. - optional bool initial_opt_in = 2; + // Deprecated. + optional bool initial_opt_in = 2 [deprecated = true]; // The opt-in status after the user leaves the first opt-in screen in each // time file share or it is always “true” if the user has opted in before. - optional bool opt_in = 3; + // Deprecated. + optional bool opt_in = 3 [deprecated = true]; // The Nearby Share enable status before the user enters the first // opt-in screen in each time file share. - optional bool initial_enable_status = 4; + // Deprecated. + optional bool initial_enable_status = 4 [deprecated = true]; // The same id means it is in the same sharing file flow of sender side. // Ex: when sender share file to 2 receivers, the flow_id in sender side is // the same for all the discovery/connection/transfer events.