Fix continueComputingRecentsScrollIfNecessary() running infinitely am: aa2af22da8
Change-Id: I5db37541c8e669b77dfe80ffb5e9544ac36723c4
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user