From 8904cb04a64b33d5b9c201481f8542195e1f09c1 Mon Sep 17 00:00:00 2001 From: hai007 Date: Tue, 1 Aug 2023 22:19:32 -0700 Subject: [PATCH] [Sharing] Add SetAccount and activity name logging when user switches account. PiperOrigin-RevId: 553027327 --- proto/sharing_enums.proto | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proto/sharing_enums.proto b/proto/sharing_enums.proto index f34d8f7e..abb3478d 100644 --- a/proto/sharing_enums.proto +++ b/proto/sharing_enums.proto @@ -30,7 +30,7 @@ option objc_class_prefix = "GNSHP"; // in NearbyClearcutLogger (for android, or clearcut_event_logger as the // equivalence for Windows) for all events (may exclude settings), and // session_id for a pair of events (start and end of a session). -// Next id: 63 +// Next id: 64 enum EventType { UNKNOWN_EVENT_TYPE = 0; @@ -232,6 +232,9 @@ enum EventType { // Send desktop notification. SEND_DESKTOP_NOTIFICATION = 62; + // User sets account preference + SET_ACCOUNT = 63; + // LINT.ThenChange(//depot/google3/location/nearby/proto/nearby_event_codes.proto:SharingEventCode) }