mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
internal changes
PiperOrigin-RevId: 748788743
This commit is contained in:
committed by
Copybara-Service
parent
5fc75e3363
commit
a429cfd03a
@@ -836,6 +836,7 @@ enum AttachmentSourceType {
|
||||
ATTACHMENT_SOURCE_SELECT_FILES_BUTTON = 3;
|
||||
ATTACHMENT_SOURCE_PASTE = 4;
|
||||
ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON = 5;
|
||||
ATTACHMENT_SOURCE_SHARE_ACTIVATION = 6;
|
||||
}
|
||||
|
||||
// The action to interact with preferences.
|
||||
|
||||
@@ -124,6 +124,8 @@ AttachmentSourceType GetLoggerAttachmentSourceType(
|
||||
return AttachmentSourceType::ATTACHMENT_SOURCE_PASTE;
|
||||
case Attachment::SourceType::kSelectFoldersButton:
|
||||
return AttachmentSourceType::ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON;
|
||||
case Attachment::SourceType::kShareActivation:
|
||||
return AttachmentSourceType::ATTACHMENT_SOURCE_SHARE_ACTIVATION;
|
||||
default:
|
||||
return AttachmentSourceType::ATTACHMENT_SOURCE_UNKNOWN;
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ class Attachment {
|
||||
kSelectFilesButton,
|
||||
kPaste,
|
||||
kSelectFoldersButton,
|
||||
kShareActivation,
|
||||
kMaxValue = kSelectFoldersButton
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user