From 6f98da5a96dab307355be520d4625c9be92db758 Mon Sep 17 00:00:00 2001 From: Tim Su Date: Wed, 19 Oct 2011 22:23:17 -0700 Subject: [PATCH] Set p_first_action after intro tasks to avoid counting them --- astrid/src/com/todoroo/astrid/service/StartupService.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/astrid/src/com/todoroo/astrid/service/StartupService.java b/astrid/src/com/todoroo/astrid/service/StartupService.java index a344b0fcc..a8a3177e1 100644 --- a/astrid/src/com/todoroo/astrid/service/StartupService.java +++ b/astrid/src/com/todoroo/astrid/service/StartupService.java @@ -203,8 +203,6 @@ public class StartupService { */ private void onFirstTime() { final Resources r = ContextManager.getResources(); - Preferences.setBoolean(AstridPreferences.P_FIRST_ACTION, true); - try { new Thread(new Runnable() { @Override @@ -216,8 +214,8 @@ public class StartupService { for(int i = 0; i < INTRO_TASKS.length; i += 3) addIntroTask(r, INTRO_TASKS[i], INTRO_TASKS[i + 1], INTRO_TASKS[i + 2]); + Preferences.setBoolean(AstridPreferences.P_FIRST_ACTION, true); } - }).start(); } catch (Exception e) { exceptionService.reportError("on-first-time", e); //$NON-NLS-1$