-> If the user clicks "start fresh" we don't need to reload the workspace
since we've already loaded the default workspace from the primary
load in onCreate.
Change-Id: I43cb9e66fd49403ab6e0723cab1a03edd3dcac1b
}
public void dismissMigrationClingUseDefault(View v) {
- // Clear the workspace
- LauncherModel model = mLauncher.getModel();
- model.resetLoadedState(false, true);
- model.startLoader(false, PagedView.INVALID_RESTORE_PAGE,
- LauncherModel.LOADER_FLAG_CLEAR_WORKSPACE);
+ // Don't need to do anything special here. We've already loaded the default workspace,
+ // (which is the default loader behavior triggered from Launcher#onCreate.).
// Disable the migration cling
dismissMigrationCling();