Fix failing RippleShaderTest
Bug: 270197061 Test: atest RippleShaderTest Change-Id: I171d8c43aaf6fc087dc3fac032e7177e65c5aa6a
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user