Add logs for drag and drop in documentsui
Test: not tested
Bug: 155134389
Change-Id: Iab4dc6973284de5bbad4c79e0641d7316f74e6ec
diff --git a/bin/src/atoms.proto b/bin/src/atoms.proto
index 674978b..9a73fdd 100644
--- a/bin/src/atoms.proto
+++ b/bin/src/atoms.proto
@@ -427,6 +427,7 @@
AccessibilityShortcutReported accessibility_shortcut_reported =
266 [(module) = "framework"];
AccessibilityServiceReported accessibility_service_reported = 267 [(module) = "settings"];
+ DocsUIDragAndDropReported docs_ui_drag_and_drop_reported = 268 [(module) = "docsui"];
SdkExtensionStatus sdk_extension_status = 354;
// StatsdStats tracks platform atoms with ids upto 500.
@@ -6481,6 +6482,15 @@
optional int32 repeatedly_pick_times = 7;
}
+/** Logs the drag and drop of files.
+
+ * Logged from:
+ * package/app/DocumentsUI/src/com/android/documentsui/Metrics.java
+ */
+message DocsUIDragAndDropReported {
+ optional bool drag_initiated_from_docsui = 1;
+}
+
/**
* Logs when an app's memory is compacted.
*