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

Commit 8e869dce authored by Yein Jo's avatar Yein Jo
Browse files

Fix failing RippleShaderTest

Bug: 270197061
Test: atest RippleShaderTest
Change-Id: I171d8c43aaf6fc087dc3fac032e7177e65c5aa6a
parent 657aa093
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -431,8 +431,9 @@ class RippleShader(rippleShape: RippleShape = RippleShape.CIRCLE) :
                            "[setSizeAtProgresses] before playing the animation."
                    )
                }
                // If there's no size is set, we set everything to 0.
                // If there's no size is set, we set everything to 0 and return early.
                setSizeAtProgresses(initialSize)
                return currentSizeIndex
            }

            var candidate = sizes[currentSizeIndex]