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

Commit edd0980c authored by Hawkwood Glazier's avatar Hawkwood Glazier Committed by Android (Google) Code Review
Browse files

Merge "Add flag for clock fidget" into main

parents 2e815358 7f5039f8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2013,3 +2013,10 @@ flag {
    description: "Decouple view and controller in AnimLib."
    bug: "393241010"
}

flag {
    name: "clock_fidget_animation"
    namespace: "systemui"
    description: "Enables the clock fidget animation"
    bug: "364664389"
}
+4 −0
Original line number Diff line number Diff line
@@ -565,6 +565,10 @@ constructor(
    }

    fun handleFidgetTap(x: Float, y: Float) {
        if (!com.android.systemui.Flags.clockFidgetAnimation()) {
            return
        }

        clock?.run {
            smallClock.animations.onFidgetTap(x, y)
            largeClock.animations.onFidgetTap(x, y)