Merge "Stop computing scroll if handler is invalidated" into ub-launcher3-rvc-dev am: cea3ed48e5

Change-Id: I90c97b7f14cdf8f41520a7fa1154284c01598194
This commit is contained in:
TreeHugger Robot
2020-04-22 23:50:22 +00:00
committed by Automerger Merge Worker
@@ -1077,7 +1077,8 @@ public class LauncherSwipeHandler<T extends BaseDraggingActivity>
}
private void continueComputingRecentsScrollIfNecessary() {
if (!mGestureState.hasState(STATE_RECENTS_SCROLLING_FINISHED)) {
if (!mGestureState.hasState(STATE_RECENTS_SCROLLING_FINISHED)
&& !mStateCallback.hasStates(STATE_HANDLER_INVALIDATED)) {
computeRecentsScrollIfInvisible();
mRecentsView.post(this::continueComputingRecentsScrollIfNecessary);
}