diff --git a/proto/sharing_enums.proto b/proto/sharing_enums.proto index 80ed35cb..9b7605af 100644 --- a/proto/sharing_enums.proto +++ b/proto/sharing_enums.proto @@ -435,6 +435,8 @@ enum AttachmentTransmissionStatus { // or user turn on airplane mode. LOST_CONNECTIVITY_TRANSMISSION_STATUS = 29 /*[ status_bucket = STATUS_INTERRUPTION ]*/; + // Connection failed due to the medium is not allowed. + FAILED_DISALLOWED_MEDIUM = 30; } // Generic result status of NearbyConnections API calls. diff --git a/sharing/proto/analytics/nearby_sharing_log.proto b/sharing/proto/analytics/nearby_sharing_log.proto index ff6ad2b6..8a43f23f 100644 --- a/sharing/proto/analytics/nearby_sharing_log.proto +++ b/sharing/proto/analytics/nearby_sharing_log.proto @@ -569,6 +569,10 @@ message SharingLog { // Exact transfer count stored on device, but when logging put the transfer // count in buckets, initially we use buckets: 1, 2, 3, …, 10, 11+ optional int32 lifetime_transfer_count = 13; + // The medium used for the connection. + optional int32 connection_medium = 14; + // The data usage of the user settings. + optional location.nearby.proto.sharing.DataUsage data_usage = 15; } // EventType: RECEIVE_ATTACHMENTS_START @@ -600,6 +604,10 @@ message SharingLog { // Exact transfer count stored on device, but when logging put the transfer // count in buckets, initially we use buckets: 1, 2, 3, …, 10, 11+ optional int32 lifetime_transfer_count = 8; + // The medium used for the connection. + optional int32 connection_medium = 14; + // The data usage of the user settings. + optional location.nearby.proto.sharing.DataUsage data_usage = 15; } // EventType: CANCEL_CONNECTION