Merge "Fix failing RippleShaderTest" into tm-qpr-dev

This commit is contained in:
Yein Jo
2023-02-21 22:53:28 +00:00
committed by Android (Google) Code Review

View File

@@ -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]