From 903c8e07beb132d2ad8d60836b91e8d58db06dc4 Mon Sep 17 00:00:00 2001 From: hai007 Date: Thu, 3 Aug 2023 01:20:36 -0700 Subject: [PATCH] [Sharing Analytics]Correct AttachmentTransmissionStatus from FAILED_NULL_CONNECTION to FAILED_NULL_CONNECTION_DISCONNECTED if the transfer failure is caused by Wifi/Bluetooth setting off. PiperOrigin-RevId: 553396704 --- proto/sharing_enums.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/proto/sharing_enums.proto b/proto/sharing_enums.proto index 6b07294e..7e720d19 100644 --- a/proto/sharing_enums.proto +++ b/proto/sharing_enums.proto @@ -310,6 +310,13 @@ enum AttachmentTransmissionStatus { // Breakdowns of FAILED_NULL_CONNECTION (Desktop side) FAILED_NULL_CONNECTION_INIT_OUTGOING = 18; FAILED_NULL_CONNECTION_DISCONNECTED = 19; + + // Breakdowns of FAILED_NULL_CONNECTION (android side) + // Connection failed due to Wifi is disconnected or Bluetooth setting is off + // or user turn on airplane mode. + FAILED_NULL_CONNECTION_LOST_CONNECTIVITY = 20; + // Unexpected connection failure. + FAILED_NULL_CONNECTION_FAILURE = 21; } // Generic result status of NearbyConnections API calls.