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

Commit 5e84d05c authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Add events for bubble session duration per app

This change adds new UI events for tracking bubble switches
tied to sessions. These events are used to calculate session
duration per app.

Bug: 438484702
Flag: EXEMPT new metric events
Test: EXEMPT new metric events
Change-Id: I43fd16e34e670f174285d62f089f03e81208746d
parent 5188ceb9
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -75,6 +75,12 @@ public class BubbleLogger {
        @UiEvent(doc = "Bubble session ended.")
        BUBBLE_SESSION_ENDED(2423),

        @UiEvent(doc = "The newly selected bubble while expanded.")
        BUBBLE_SESSION_SWITCHED_TO(2427),

        @UiEvent(doc = "The previously selected bubble while expanded.")
        BUBBLE_SESSION_SWITCHED_FROM(2428),

        // endregion

        // region bubble bar events
@@ -175,6 +181,12 @@ public class BubbleLogger {
        @UiEvent(doc = "Bubble Bar session ended.")
        BUBBLE_BAR_SESSION_ENDED(2425),

        @UiEvent(doc = "The newly selected bubble bar bubble while expanded.")
        BUBBLE_BAR_SESSION_SWITCHED_TO(2429),

        @UiEvent(doc = "The previously selected bubble bar bubble while expanded.")
        BUBBLE_BAR_SESSION_SWITCHED_FROM(2430),

        // endregion
        ;