Add connection's SafeDisconnectionResult into the established connection so we could analyzing any mis-matched SafeDisconnectionResult with the same connection token.

PiperOrigin-RevId: 520398868
This commit is contained in:
hai007
2023-03-29 11:49:08 -07:00
committed by Copybara-Service
parent 865637024d
commit 4b4e599ea6
@@ -290,6 +290,15 @@ message ConnectionsLog {
// The type of established connection.
optional location.nearby.proto.connections.ConnectionAttemptType type = 8;
// If this is a safe disconnection.
optional SafeDisconnectionResult safe_disconnection_result = 9;
enum SafeDisconnectionResult {
UNKNOWN_SAFE_DISCONNECTION_RESULT = 0;
SAFE_DISCONNECTION = 1;
UNSAFE_DISCONNECTION = 2;
}
}
// A Payload transferred (or attempted to be transferred) between devices.