Stop computing scroll if handler is invalidated am: 3d05148750

Change-Id: I097006aa14ed82069bfc3cf26a940049d68b95bf
This commit is contained in:
Tony Wickham
2020-04-27 17:33:52 +00:00
committed by Automerger Merge Worker
@@ -1076,7 +1076,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);
}