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

Commit ddbc7bf0 authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Merge "Fixing ActivityInit getting called before the full launcher components...

Merge "Fixing ActivityInit getting called before the full launcher components are initialized" into sc-dev
parents b2cfab53 a8bbcb9c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -95,9 +95,6 @@ public abstract class BaseQuickstepLauncher extends Launcher
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mAppTransitionManager = new QuickstepTransitionManager(this);
        mAppTransitionManager.registerRemoteAnimations();

        SysUINavigationMode.INSTANCE.get(this).addModeChangeListener(this);
        addMultiWindowModeChangedListener(mDepthController);
    }
@@ -225,6 +222,9 @@ public abstract class BaseQuickstepLauncher extends Launcher
        overviewPanel.init(mActionsView, splitPlaceholderView);
        mActionsView.updateVerticalMargin(SysUINavigationMode.getMode(this));

        mAppTransitionManager = new QuickstepTransitionManager(this);
        mAppTransitionManager.registerRemoteAnimations();

        addTaskbarIfNecessary();
        addOnDeviceProfileChangeListener(newDp -> addTaskbarIfNecessary());
    }