Merge "Sending onCreate to the callbacks after our call is complete" into ub-launcher3-dorval-polish

This commit is contained in:
TreeHugger Robot 2017-07-31 17:18:38 +00:00 committed by Android (Google) Code Review
commit 9f5f297331
1 changed files with 4 additions and 3 deletions

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