summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Rhodes <xof@google.com>2023-02-01 11:42:36 +0000
committerChristophe Rhodes <xof@google.com>2023-02-01 11:42:36 +0000
commit59f3f49757c17724a32817cd6309b0396f704310 (patch)
treeab08abf143791a3c7bba17950d87f38c9d4e500e
parentf2baeeb4db4618119e04510429ed2fdbbc8934d8 (diff)
downloadanalytics-library-59f3f49757c17724a32817cd6309b0396f704310.tar.gz
Update studio_stats.proto
Logs-Approval: cl/506138157 Logs-Approval: cl/506155553 Logs-Approval: cl/506263157 Bug: 260582426 Test: none Change-Id: I7fb9f3580cdc6a972c9c4396463784392f451d9d
-rw-r--r--protos/src/main/proto/studio_stats.proto22
1 files changed, 22 insertions, 0 deletions
diff --git a/protos/src/main/proto/studio_stats.proto b/protos/src/main/proto/studio_stats.proto
index 60ede32..8390267 100644
--- a/protos/src/main/proto/studio_stats.proto
+++ b/protos/src/main/proto/studio_stats.proto
@@ -547,6 +547,10 @@ message AndroidStudioEvent {
// set when kind = HEAP_REPORT_EVENT
optional HeapReportEvent heap_report_event = 156;
+ // set when kind = CREATE_DIAGNOSTIC_REPORT_ACTION
+ optional CreateDiagnosticReportAction create_diagnostic_report_action_event =
+ 157;
+
enum EventCategory {
// The event was not grouped into any specific category (default).
NO_EVENT_CATEGORY = 0;
@@ -1260,6 +1264,12 @@ message AndroidStudioEvent {
// Event related to collection or analysis of client side heap reports
HEAP_REPORT_EVENT = 269;
+
+ // Action taken by user from create diagnostic report dialog
+ CREATE_DIAGNOSTIC_REPORT_ACTION = 270;
+
+ // Event when the AGP Upgrade Assistant CTA from an old AGP is dismissed
+ UPGRADE_ASSISTANT_CTA_OLD_AGP_DISMISSED = 271;
}
// Represents different Performance Monitoring types.
@@ -5133,6 +5143,7 @@ message LayoutEditorState {
CUSTOM_VIEWS = 6;
GLANCE_WEAR_TILE = 7;
GLANCE_APP_WIDGET = 8;
+ VALIDATION_TOOL = 9;
}
// Layout orientation
@@ -12404,3 +12415,14 @@ message HeapReportEvent {
optional Reason reason = 2; // set when status = LOW_MEMORY_EVENT
optional int64 freed_memory = 3; // set when status = FORCED_GC
}
+
+message CreateDiagnosticReportAction {
+ enum ActionType {
+ UNKNOWN_ACTION_TYPE = 0;
+ CANCELLED = 1;
+ CREATED = 2;
+ }
+
+ // Indicates which action the user took
+ optional ActionType action_type = 1;
+} \ No newline at end of file