From 22c72167ae8db28cf1dca72a0c199b59d8246291 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 26 Apr 2018 08:19:08 -0700 Subject: [PATCH] Fixing recents transition not getting completed when using QuickScrub Bug: 78615441 Change-Id: I30a876abb1f4129c7dc022762154f4cc21e677f1 --- .../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);