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

Commit 5bdae3d8 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Skip calling into recents view if the activity is not yet initialized"...

Merge "Skip calling into recents view if the activity is not yet initialized" into ub-launcher3-master
parents 13a7980e 5583e539
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -615,7 +615,9 @@ public class LauncherSwipeHandler<T extends BaseDraggingActivity>
    @Override
    public void onRecentsAnimationCanceled(ThumbnailData thumbnailData) {
        super.onRecentsAnimationCanceled(thumbnailData);
        if (mRecentsView != null) {
            mRecentsView.setRecentsAnimationTargets(null, null);
        }
        mActivityInitListener.unregister();
        mStateCallback.setStateOnUiThread(STATE_GESTURE_CANCELLED | STATE_HANDLER_INVALIDATED);
        ActiveGestureLog.INSTANCE.addLog("cancelRecentsAnimation");