Stop computing scroll if handler is invalidated am: 3d05148750
Change-Id: Ib89b7f6f1468faa5d880146f0d1ed98b0f859785
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user