Fix continueComputingRecentsScrollIfNecessary() running infinitely am: aa2af22da8 am: 60be99b514 am: 2fbd70b44d

Change-Id: I6a75fb6cce5866ffa37585efaba517313d0a4680
This commit is contained in:
Tony Wickham authored and Automerger Merge Worker committed 2020-05-05 23:48:51 +00:00
commit 85a939d399
1 file changed
+3 -2
@@ -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);
}
}