Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfc05d59 authored by Tony Wickham's avatar Tony Wickham Committed by Automerger Merge Worker
Browse files

Fix continueComputingRecentsScrollIfNecessary() running infinitely am: aa2af22d

Change-Id: I8e824027554e62c05dafce80d8b523a1d8065383
parents 5e423b83 aa2af22d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1078,9 +1078,10 @@ public class LauncherSwipeHandler<T extends BaseDraggingActivity>

    private void continueComputingRecentsScrollIfNecessary() {
        if (!mGestureState.hasState(STATE_RECENTS_SCROLLING_FINISHED)
                && !mStateCallback.hasStates(STATE_HANDLER_INVALIDATED)) {
                && !mStateCallback.hasStates(STATE_HANDLER_INVALIDATED)
                && !mCanceled) {
            computeRecentsScrollIfInvisible();
            mRecentsView.post(this::continueComputingRecentsScrollIfNecessary);
            mRecentsView.postOnAnimation(this::continueComputingRecentsScrollIfNecessary);
        }
    }