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

Commit 1280eec1 authored by Darrell Shi's avatar Darrell Shi
Browse files

Define new UI events for communal hub

- tap on UMO in the communal hub
- transition from dream to communal hub

Test: n/a
Bug: 317798091
Bug: 327448990
Flag: com.android.systemui.communal_hub
Change-Id: I54586965fc4c80754fc5c1b624ff0565e69a3d52
parent 002ab534
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -53,7 +53,15 @@ enum class CommunalUiEvent(private val id: Int) : UiEventEnum {
    @UiEvent(doc = "User performs a swipe up gesture from bottom to enter bouncer")
    COMMUNAL_HUB_SWIPE_UP_TO_BOUNCER(1573),
    @UiEvent(doc = "User performs a swipe down gesture from top to enter shade")
    COMMUNAL_HUB_SWIPE_DOWN_TO_SHADE(1574);
    COMMUNAL_HUB_SWIPE_DOWN_TO_SHADE(1574),
    @UiEvent(doc = "User performs a tap gesture on the UMO in Communal Hub")
    COMMUNAL_HUB_UMO_TAP(1858),
    @UiEvent(
        doc =
            "A transition from dream to Communal Hub starts. This can be triggered by a tap on " +
                "the dream."
    )
    FROM_DREAM_TO_COMMUNAL_HUB_TRANSITION_START(1859);

    override fun getId(): Int {
        return id