From afd1a0b10dc6156cee85ea3903d4c970ef205042 Mon Sep 17 00:00:00 2001 From: hai007 Date: Wed, 15 Feb 2023 11:58:42 -0800 Subject: [PATCH] Enable analytics logging for SelectFoldersButton by aligning AttachmentSourceType between C++ and dart PiperOrigin-RevId: 509896703 --- proto/sharing_enums.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proto/sharing_enums.proto b/proto/sharing_enums.proto index ee93f39a..8ef71146 100644 --- a/proto/sharing_enums.proto +++ b/proto/sharing_enums.proto @@ -519,7 +519,7 @@ enum AppCrashReason { } // Thes source where the attachemnt comes from. It can be an action, app name, -// etc. The first 4 source types are being used as FileSenderType in Nearby +// etc. The first 6 source types are being used as FileSenderType in Nearby // Share Windows app. enum AttachmentSourceType { ATTACHMENT_SOURCE_UNKNOWN = 0; @@ -527,6 +527,7 @@ enum AttachmentSourceType { ATTACHMENT_SOURCE_DRAG_AND_DROP = 2; ATTACHMENT_SOURCE_SELECT_FILES_BUTTON = 3; ATTACHMENT_SOURCE_PASTE = 4; + ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON = 5; } // The action to interact with preferences.