Revert "Revert "Fixing recents transition not getting completed when using QuickScrub""

This reverts commit dea746cb4c.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I695dbd069eeea266c74e15cb76c7fbcdf553ac84
This commit is contained in:
Sunny Goyal
2018-04-26 17:42:25 +00:00
parent b38170a7a5
commit 23f83a8b7b

View File

@@ -442,7 +442,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
}
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);