Enable analytics logging for SelectFoldersButton by aligning AttachmentSourceType between C++ and dart

PiperOrigin-RevId: 509896703
This commit is contained in:
hai007
2023-02-15 12:00:26 -08:00
committed by Copybara-Service
parent cee10e8d44
commit afd1a0b10d
+2 -1
View File
@@ -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.