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

Commit f38d7391 authored by Orhan Uysal's avatar Orhan Uysal Committed by Android (Google) Code Review
Browse files

Merge "Revert "Fix activity leak"" into main

parents 1b973c06 e0e54600
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -542,18 +542,16 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer
        if (mDesktopVisibilityController != null) {
            mDesktopVisibilityController.unregisterSystemUiListener();
        }
        mDesktopVisibilityController = null;

        if (mSplitSelectStateController != null) {
            removeBackAnimationCallback(mSplitSelectStateController.getSplitBackHandler());
            mSplitSelectStateController.onDestroy();
        }
        mSplitSelectStateController = null;

        super.onDestroy();
        mHotseatPredictionController.destroy();
        mSplitWithKeyboardShortcutController.onDestroy();
        if (mViewCapture != null) mViewCapture.close();
        removeBackAnimationCallback(mSplitSelectStateController.getSplitBackHandler());
    }

    @Override