Sending onCreate to the callbacks after our call is complete

Bug: Bug: 63381480
Change-Id: Ib5fcd9ef500a91fef93c9e5af657b23723748ccc
This commit is contained in:
Sunny Goyal
2017-07-31 10:03:28 -07:00
parent 4752686389
commit 14b3240eca

View File

@@ -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