diff --git a/astrid/src/com/todoroo/astrid/service/StartupService.java b/astrid/src/com/todoroo/astrid/service/StartupService.java index 0887193b8..9e83483b1 100644 --- a/astrid/src/com/todoroo/astrid/service/StartupService.java +++ b/astrid/src/com/todoroo/astrid/service/StartupService.java @@ -183,6 +183,9 @@ public class StartupService { // perform startup activities in a background thread final int finalLatestVersion = latestSetVersion; + + initializeABTesting(latestSetVersion == 0); + new Thread(new Runnable() { public void run() { // start widget updating alarm @@ -215,10 +218,11 @@ public class StartupService { // Check for feature flips featureFlipper.updateFeatures(); + + abTestEventDao.createRelativeDateEvents(); } }).start(); - initializeABTesting(latestSetVersion == 0); AstridPreferences.setPreferenceDefaults(); // check for task killers @@ -232,7 +236,6 @@ public class StartupService { abTestEventReportingService.initialize(); abTestEventReportingService.pushAllUnreportedABTestEvents(); abChooser.makeChoicesForAllTests(newUser, taskService.getUserActivationStatus()); - abTestEventDao.createRelativeDateEvents(); } /**