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

Commit 76a2a6ae authored by Winson Chung's avatar Winson Chung
Browse files

Clear refs to the controller and saved snapshot upon finishing animation

Bug: 79322746
Change-Id: I8786909615da3368a22300d5e33cefa4b77623fd
parent 39306af7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ public class RecentsAnimationWrapper {
                    if (onFinishComplete != null) {
                        onFinishComplete.run();
                    }
                    controller = null;
                }
            }
        });
+1 −0
Original line number Diff line number Diff line
@@ -677,6 +677,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {

        mActivityInitListener.unregister();
        mInputConsumer.unregisterInputConsumer();
        mTaskSnapshot = null;
    }

    private void invalidateHandlerWithLauncher() {