Fix bug where app icons are clipped when transitioning from app to home.

Bug: 135636137
Change-Id: Icaba06ed27b3196371730a5a4c5d3382cedc7000
This commit is contained in:
Jon Miranda committed 2019-07-10 11:04:40 -07:00
1 parent c837b3a98f
commit 857b3fbb7e
2 files changed
+41 -4

No files matched your search

@@ -96,7 +96,10 @@ public class SpringObjectAnimator<T> extends ValueAnimator {
}
});
mSpring.addUpdateListener((animation, value, velocity) -> mSpringEnded = false);
mSpring.addUpdateListener((animation, value, velocity) -> {
mSpringEnded = false;
mEnded = false;
});
mSpring.addEndListener((animation, canceled, value, velocity) -> {
mSpringEnded = true;
tryEnding();