Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd028075 authored by Avinash Vadlamudi's avatar Avinash Vadlamudi
Browse files

Add necessary metric collections for barcode detection in Overview.

- Log required metric events for the barcode content interactions.

Flag: ACONFIG com.google.android.apps.miphone.aiai.matchmaker.overview.ui.enable_barcode_detection_in_overview DEVELOPMENT
Bug: 310757242
Test: Built and tested on Pixel device.
Change-Id: Iff4e4a3aec35d9d096f5b52eab0124f6e7f22e15
parent d6233c18
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -341,6 +341,12 @@ public class StatsLogManager implements ResourceBasedOverride {
        @UiEvent(doc = "User tapped on image content in Overview Select mode.")
        LAUNCHER_SELECT_MODE_IMAGE(627),

        @UiEvent(doc = "User tapped on barcode content in Overview Select mode.")
        LAUNCHER_SELECT_MODE_BARCODE(1531),

        @UiEvent(doc = "Highlight gleams for barcode content in Overview Select mode.")
        LAUNCHER_SELECT_MODE_SHOW_BARCODE_REGIONS(1532),

        @UiEvent(doc = "Activity to add external item was started")
        LAUNCHER_ADD_EXTERNAL_ITEM_START(641),

@@ -498,6 +504,21 @@ public class StatsLogManager implements ResourceBasedOverride {
        @UiEvent(doc = "User taps the More button to share an image")
        LAUNCHER_OVERVIEW_SHARING_TAP_MORE_TO_SHARE_IMAGE(778),

        @UiEvent(doc = "Show Barode indicator for overview sharing")
        LAUNCHER_OVERVIEW_SHARING_SHOW_BARCODE_INDICATOR(1533),

        @UiEvent(doc = "User taps barcode indicator in overview")
        LAUNCHER_OVERVIEW_SHARING_BARCODE_INDICATOR_TAP(1534),

        @UiEvent(doc = "Configure barcode region for long_press action for overview sharing")
        LAUNCHER_OVERVIEW_SHARING_CONFIGURE_BARCODE_REGION_LONG_PRESS(1535),

        @UiEvent(doc = "User long presses a barcode region in overview")
        LAUNCHER_OVERVIEW_SHARING_BARCODE_REGION_LONG_PRESS(1536),

        @UiEvent(doc = "User drags a barcode region in overview")
        LAUNCHER_OVERVIEW_SHARING_BARCODE_REGION_DRAG(1537),

        @UiEvent(doc = "User started resizing a widget on their home screen.")
        LAUNCHER_WIDGET_RESIZE_STARTED(820),