mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Clear ref after animation if visual stashing not supported" into sc-v2-dev am: 550dc8dc69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16308385 Change-Id: Iebab222d49fec6fc8d427890b247692921ae54b4
This commit is contained in:
@@ -282,6 +282,12 @@ public class TaskbarStashController {
|
||||
// Just hide/show the icons instead of stashing into a handle.
|
||||
mAnimator.play(mIconAlphaForStash.animateToValue(isStashed ? 0 : 1)
|
||||
.setDuration(duration));
|
||||
mAnimator.addListener(new AnimatorListenerAdapter() {
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
mAnimator = null;
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user