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

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

Merge "Set the listeners to null on unregister" into main

parents c4079927 2552cc78
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ public class DesktopVisibilityController {
     */
    public void unregisterSystemUiListener() {
        SystemUiProxy.INSTANCE.get(mLauncher).setDesktopTaskListener(null);
        mDesktopTaskListener = null;
    }

    /**
+1 −0
Original line number Diff line number Diff line
@@ -983,6 +983,7 @@ public class SplitSelectStateController {
        void onDestroy() {
            SystemUiProxy.INSTANCE.get(mLauncher).unregisterSplitSelectListener(
                    mSplitSelectListener);
            mSplitSelectListener = null;
        }

        /**