mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Fix black flash when splitting task
- Draw the thumbnail view and align with the thumbnail bounds instead of the whole task bounds with the icon - Defer animating the task list until after the animation completes Bug: 73118672 Test: Enter split screen Change-Id: Ie10c079cb22ae82f3c5974296462abae335ef5a8
This commit is contained in:
@@ -198,8 +198,8 @@ public class OverviewSwipeController extends AnimatorListenerAdapter
|
||||
}
|
||||
} else {
|
||||
if (goingUp) {
|
||||
mPendingAnimation = mRecentsView
|
||||
.createTaskDismissAnimation(mTaskBeingDragged, maxDuration);
|
||||
mPendingAnimation = mRecentsView.createTaskDismissAnimation(mTaskBeingDragged,
|
||||
true /* animateTaskView */, true /* removeTask */, maxDuration);
|
||||
mCurrentAnimation = AnimatorPlaybackController
|
||||
.wrap(mPendingAnimation.anim, maxDuration);
|
||||
mEndDisplacement = -mTaskBeingDragged.getHeight();
|
||||
|
||||
Reference in New Issue
Block a user