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

Commit a6153fa7 authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Reduce animation steps back to 30

Bug: 394840414
Test: Manually checked animation
Flag: com.android.systemui.shared.clock_reactive_variants
Change-Id: Ib79bf70fce03844d9ac3c06d11345776f328c313
parent 90db7a62
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -113,8 +113,8 @@ class DefaultClockProvider(

    companion object {
        // 750ms @ 120hz -> 90 frames of animation
        // In practice, 45 looks good enough
        const val NUM_CLOCK_FONT_ANIMATION_STEPS = 45
        // In practice, 30 looks good enough and limits our memory usage
        const val NUM_CLOCK_FONT_ANIMATION_STEPS = 30

        val FLEX_TYPEFACE by lazy {
            // TODO(b/364680873): Move constant to config_clockFontFamily when shipping