From 470da4e3e497caa8bc0f41e01e3e5da07c870ba0 Mon Sep 17 00:00:00 2001 From: Tracy Zhou Date: Mon, 29 Oct 2018 17:31:29 -0400 Subject: [PATCH] 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 --- .../src/com/android/quickstep/WindowTransformSwipeHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java index 9ea88842d7..7d1e8ddd6a 100644 --- a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java +++ b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java @@ -993,6 +993,7 @@ public class WindowTransformSwipeHandler { mLauncherTransitionController.getAnimationPlayer().end(); mLauncherTransitionController = null; } + mLayoutListener.finish(); mActivityControlHelper.onQuickInteractionStart(mActivity, mRunningTaskInfo, false, mTouchInteractionLog);