Finish LauncherLayoutListener when launcher transition animation ends.

In QuickScrub mode, the right task gets clipped out at the end of the animation. This is because LauncherLayoutListener continues to clear out where CurrentRect is, while the app surface is not displaying. We want to finish the listener after the transition animation.

Bug: 111697218
Test: Manual test

Change-Id: I4dd5f5cbcec0574082fd1463e07c116a9e9305d3
This commit is contained in:
Tracy Zhou
2018-10-29 17:31:29 -04:00
parent f107c9ef6d
commit 470da4e3e4
@@ -993,6 +993,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
mLauncherTransitionController.getAnimationPlayer().end();
mLauncherTransitionController = null;
}
mLayoutListener.finish();
mActivityControlHelper.onQuickInteractionStart(mActivity, mRunningTaskInfo, false,
mTouchInteractionLog);