[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
This commit is contained in:
hai007
2023-08-09 19:08:15 -07:00
committed by Copybara-Service
parent 859dd1d1bd
commit 903c8e07be
+7
View File
@@ -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.