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

Commit 53f6edf0 authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Trigger clock relayout when transitioning to doze w/o animation

Bug: 400934553
Test: Manually validated clock behavior
Flag: com.android.systemui.shared.clock_reactive_variants
Change-Id: I3b1caf5e91e9a710c60ecb82fc99591f06ebb1c5
parent 4c10e993
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -337,6 +337,11 @@ open class SimpleDigitalClockTextView(
            ),
        )
        updateTextBoundsForTextAnimator()

        if (!isAnimated) {
            requestLayout()
            (parent as? FlexClockView)?.requestLayout()
        }
    }

    fun animateCharge() {