don't assume folks are first time unless they are

pull/14/head
Tim Su 14 years ago
parent b4a337eb97
commit 2eab044057

@ -204,7 +204,7 @@ public class TaskDao extends DatabaseDao<Task> {
boolean result = super.createNew(item);
if(result) {
StatisticsService.reportEvent("dao-task-created"); //$NON-NLS-1$
if(Preferences.getBoolean(AstridPreferences.P_FIRST_ACTION, true)) {
if(Preferences.getBoolean(AstridPreferences.P_FIRST_ACTION, false)) {
StatisticsService.reportEvent("user-first-task"); //$NON-NLS-1$
Preferences.setBoolean(AstridPreferences.P_FIRST_ACTION, false);
}

@ -37,8 +37,8 @@ import com.todoroo.astrid.backup.BackupService;
import com.todoroo.astrid.backup.TasksXmlImporter;
import com.todoroo.astrid.dao.Database;
import com.todoroo.astrid.data.Task;
import com.todoroo.astrid.opencrx.OpencrxCoreUtils;
import com.todoroo.astrid.gtasks.GtasksPreferenceService;
import com.todoroo.astrid.opencrx.OpencrxCoreUtils;
import com.todoroo.astrid.producteev.ProducteevUtilities;
import com.todoroo.astrid.reminders.ReminderStartupReceiver;
import com.todoroo.astrid.utility.AstridPreferences;
@ -190,6 +190,7 @@ public class StartupService {
*/
private void onFirstTime() {
final Resources r = ContextManager.getResources();
Preferences.setBoolean(AstridPreferences.P_FIRST_ACTION, true);
try {
new Thread(new Runnable() {

Loading…
Cancel
Save