Set p_first_action after intro tasks to avoid counting them

pull/14/head
Tim Su 14 years ago
parent 185c70ddd6
commit 6f98da5a96

@ -203,8 +203,6 @@ public class StartupService {
*/ */
private void onFirstTime() { private void onFirstTime() {
final Resources r = ContextManager.getResources(); final Resources r = ContextManager.getResources();
Preferences.setBoolean(AstridPreferences.P_FIRST_ACTION, true);
try { try {
new Thread(new Runnable() { new Thread(new Runnable() {
@Override @Override
@ -216,8 +214,8 @@ public class StartupService {
for(int i = 0; i < INTRO_TASKS.length; i += 3) for(int i = 0; i < INTRO_TASKS.length; i += 3)
addIntroTask(r, INTRO_TASKS[i], INTRO_TASKS[i + 1], INTRO_TASKS[i + 2]); addIntroTask(r, INTRO_TASKS[i], INTRO_TASKS[i + 1], INTRO_TASKS[i + 2]);
Preferences.setBoolean(AstridPreferences.P_FIRST_ACTION, true);
} }
}).start(); }).start();
} catch (Exception e) { } catch (Exception e) {
exceptionService.reportError("on-first-time", e); //$NON-NLS-1$ exceptionService.reportError("on-first-time", e); //$NON-NLS-1$

Loading…
Cancel
Save