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

Commit 14b3240e authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Sending onCreate to the callbacks after our call is complete

Bug: Bug: 63381480
Change-Id: Ib5fcd9ef500a91fef93c9e5af657b23723748ccc
parent 47526863
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -464,9 +464,6 @@ public class Launcher extends BaseActivity
        setOrientation();

        setContentView(mLauncherView);
        if (mLauncherCallbacks != null) {
            mLauncherCallbacks.onCreate(savedInstanceState);
        }

        // Listen for broadcasts
        IntentFilter filter = new IntentFilter();
@@ -477,6 +474,10 @@ public class Launcher extends BaseActivity

        getSystemUiController().updateUiState(SystemUiController.UI_STATE_BASE_WINDOW,
                Themes.getAttrBoolean(this, R.attr.isWorkspaceDarkText));

        if (mLauncherCallbacks != null) {
            mLauncherCallbacks.onCreate(savedInstanceState);
        }
    }

    @Override