From 23f83a8b7b6676767a34e33cc334d6c80696f08e Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 26 Apr 2018 17:42:25 +0000 Subject: [PATCH] Revert "Revert "Fixing recents transition not getting completed when using QuickScrub"" This reverts commit dea746cb4cb61e0b507711f8fb6baf592124a8ae. Reason for revert: Change-Id: I695dbd069eeea266c74e15cb76c7fbcdf553ac84 --- .../src/com/android/quickstep/WindowTransformSwipeHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java index 881b09b1d3..3217b78a85 100644 --- a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java +++ b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java @@ -442,7 +442,7 @@ public class WindowTransformSwipeHandler { } mInteractionType = interactionType; - setStateOnUiThread(STATE_QUICK_SCRUB_START); + setStateOnUiThread(STATE_QUICK_SCRUB_START | STATE_GESTURE_COMPLETED); // Start the window animation without waiting for launcher. animateToProgress(1f, QUICK_SCRUB_START_DURATION, TOUCH_RESPONSE_INTERPOLATOR);