Merge "Fixed a bug where the brighness mirror would make everything invisible" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-05-18 19:45:12 +00:00
committed by Android (Google) Code Review

View File

@@ -92,6 +92,9 @@ public class PropertyAnimator {
AnimatorListenerAdapter listener = properties.getAnimationFinishListener(property);
if (currentValue.equals(newEndValue)) {
// Skip the animation!
if (previousAnimator != null) {
previousAnimator.cancel();
}
if (listener != null) {
listener.onAnimationEnd(null);
}