content.setBackground(bg);
}
<<<<<<< HEAD
root.addView(cling);
=======
public boolean shouldShowFirstRunOrMigrationClings() {
SharedPreferences sharedPrefs = mLauncher.getSharedPrefs();
return areClingsEnabled() &&
!sharedPrefs.getBoolean(FIRST_RUN_CLING_DISMISSED_KEY, false) &&
!sharedPrefs.getBoolean(MIGRATION_CLING_DISMISSED_KEY, false) &&
LauncherAppState.getLauncherProvider().wasNewDbCreated();
}
public void removeFirstRunAndMigrationClings() {
removeCling(R.id.first_run_cling);
removeCling(R.id.migration_cling);
}
>>>>>>> 0f3e20658a2386b68f23c71a83e18b9423e939e9
if (showWelcome) {
// This is the first cling being shown. No need to animate. |