diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-20 16:40:42 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-20 16:40:42 +0000 |
commit | d1d5c873114b9e634f3026201972122dc2ccb082 (patch) | |
tree | 489df59398ecce6d237386896d4bf55ccc9517ae | |
parent | dc2f924ecc65063139c277c9a1385a279f7c8bb3 (diff) | |
parent | 3765b4648092c4e448c19aa23832b879e3d2ac9c (diff) | |
download | analytics-library-d1d5c873114b9e634f3026201972122dc2ccb082.tar.gz |
Snap for 10530194 from 3765b4648092c4e448c19aa23832b879e3d2ac9c to studio-hedgehog-release
Change-Id: I66e8dcf62d7503fd8eb7b4c3774430e0046ec1d0
-rw-r--r-- | protos/src/main/proto/analytics_enums.proto | 2 | ||||
-rw-r--r-- | protos/src/main/proto/studio_stats.proto | 42 |
2 files changed, 43 insertions, 1 deletions
diff --git a/protos/src/main/proto/analytics_enums.proto b/protos/src/main/proto/analytics_enums.proto index c64ea4d..e9346e1 100644 --- a/protos/src/main/proto/analytics_enums.proto +++ b/protos/src/main/proto/analytics_enums.proto @@ -410,7 +410,7 @@ enum GradleTaskExecutionType { VERIFY_LIBRARY_CLASSES = 323; EXTRACT_VERSION_CONTROL_INFO = 324; EXPAND_ART_PROFILE_WILDCARDS = 325; - SCREENSHOT_TEST = 326; + PREVIEW_SCREENSHOT_TEST = 326; ASARS_TO_COMPAT_SPLITS = 327; EXTRACT_PRIVACY_SANDBOX_COMPAT_APKS = 328; } diff --git a/protos/src/main/proto/studio_stats.proto b/protos/src/main/proto/studio_stats.proto index 71a9cb5..55235ca 100644 --- a/protos/src/main/proto/studio_stats.proto +++ b/protos/src/main/proto/studio_stats.proto @@ -615,6 +615,12 @@ message AndroidStudioEvent { // set when kind = SOONG_SYNC_EVENT optional SoongSyncStats soong_sync_stats = 177; + // set when kind = INTELLIJ_NEW_UI_SWITCH + optional IntelliJNewUISwitch intellij_new_ui_switch = 178; + + // set when kind = ESSENTIALS_MODE_EVENT + optional EssentialsModeEvent essentials_mode_event = 179; + enum EventCategory { // The event was not grouped into any specific category (default). NO_EVENT_CATEGORY = 0; @@ -1400,6 +1406,12 @@ message AndroidStudioEvent { // Soong sync event SOONG_SYNC_EVENT = 293; + + // Event related to the user toggling the new UI state + INTELLIJ_NEW_UI_SWITCH = 294; + + // Event related to essentials mode state changes + ESSENTIALS_MODE_EVENT = 295; } // Represents different Performance Monitoring types. @@ -9349,6 +9361,8 @@ message TypingLatencyStats { } // Per-file-type latency stats. repeated LatencyRecord latency_records = 1; + // Whether the IDE was in Essential Highlighting or not + optional bool essential_highlighting = 2; } message EditorHighlightingStats { @@ -11914,6 +11928,10 @@ message DeviceExplorerEvent { FILES_TAB_CLICKED = 16; // The user clicked on the process tab PROCESS_TAB_CLICKED = 17; + // The user toggled on application ID filtering + APPLICATION_ID_FILTER_TOGGLED_ON = 18; + // The user toggled off application ID filtering + APPLICATION_ID_FILTER_TOGGLED_OFF = 19; } } @@ -12520,6 +12538,8 @@ message SystemHealthEvent { optional Memory memory = 4; // Exception details optional Exception exception = 5; + // Whether the IDE is in Essentials Mode + optional bool essentials_mode = 6; } message ComposePreviewCanvasEvent { @@ -13618,3 +13638,25 @@ message SoongSyncStats { CANCELLED = 3; } } + +message IntelliJNewUISwitch { + enum SwitchSource { + SOURCE_UNKNOWN = 0; + ENABLE_NEW_UI_ACTION = 1; + DISABLE_NEW_UI_ACTION = 2; + WELCOME_PROMO = 3; + WHATS_NEW_PAGE = 4; + SETTINGS_PAGE = 5; + } + + // Source of the new ui status switch + optional SwitchSource switch_source = 1; + + // updated status of new ui + optional bool new_ui = 2; +} + +message EssentialsModeEvent { + // when the mode was just enabled or not + optional bool enabled = 1; +} |