Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4 am: 6d4b92fd52
Change-Id: I6e06be97bb5f673d17874f95b0ba2b3cb20c5021
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