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

Commit b5589b1b authored by Aaron Liu's avatar Aaron Liu Committed by Android (Google) Code Review
Browse files

Merge "Fix index out of bounds exception" into main

parents 46cbe8e1 e47f4ece
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -555,7 +555,7 @@ class AnimatableClockView @JvmOverloads constructor(
            if (distance > 0) {
            if (distance > 0) {
                // If distance > 0 then we are moving from the left towards the center.
                // If distance > 0 then we are moving from the left towards the center.
                // We need ensure that the glyphs are offset to the initial position.
                // We need ensure that the glyphs are offset to the initial position.
                glyphOffsets -= dir * distance
                glyphOffsets[i] -= dir * distance
            }
            }
        }
        }
        invalidate()
        invalidate()