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

Commit 0dbd7218 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add null check for mRecentsView when recents animation is canceled"...

Merge "Add null check for mRecentsView when recents animation is canceled" into udc-qpr-dev am: 2a1df887

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24499166



Change-Id: I47fae5b187a2bb2a50e0ff78ce9672cdd50ba6b3
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 28c69acd 2a1df887
Loading
Loading
Loading
Loading
+16 −14
Original line number Diff line number Diff line
@@ -518,6 +518,8 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
        // Set up a entire animation lifecycle callback to notify the current recents view when
        // the animation is canceled
        mGestureState.runOnceAtState(STATE_RECENTS_ANIMATION_CANCELED, () -> {
            if (mRecentsView == null) return;

            HashMap<Integer, ThumbnailData> snapshots =
                    mGestureState.consumeRecentsAnimationCanceledSnapshot();
            if (snapshots != null) {