From 579ac9d069b5f1300148bcb9c4399fa675bf2896 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Thu, 10 May 2012 16:39:52 -0700 Subject: [PATCH] Fixed a couple minor things --- .../plugin-src/com/todoroo/astrid/calls/MissedCallActivity.java | 2 ++ .../com/todoroo/astrid/people/PeopleFilterExposer.java | 2 -- astrid/src/com/todoroo/astrid/activity/TaskListActivity.java | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/calls/MissedCallActivity.java b/astrid/plugin-src/com/todoroo/astrid/calls/MissedCallActivity.java index c1cd6aaf0..855d5d109 100644 --- a/astrid/plugin-src/com/todoroo/astrid/calls/MissedCallActivity.java +++ b/astrid/plugin-src/com/todoroo/astrid/calls/MissedCallActivity.java @@ -28,6 +28,7 @@ import com.todoroo.astrid.data.Task; import com.todoroo.astrid.reminders.NotificationFragment.SnoozeDialog; import com.todoroo.astrid.reminders.Notifications; import com.todoroo.astrid.reminders.SnoozeCallback; +import com.todoroo.astrid.service.StartupService; import com.todoroo.astrid.service.TaskService; import com.todoroo.astrid.service.ThemeService; @@ -97,6 +98,7 @@ public class MissedCallActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { + new StartupService().onStartupApplication(this); super.onCreate(savedInstanceState); DependencyInjectionService.getInstance().inject(this); diff --git a/astrid/plugin-src/com/todoroo/astrid/people/PeopleFilterExposer.java b/astrid/plugin-src/com/todoroo/astrid/people/PeopleFilterExposer.java index 9a0775fae..11267a819 100644 --- a/astrid/plugin-src/com/todoroo/astrid/people/PeopleFilterExposer.java +++ b/astrid/plugin-src/com/todoroo/astrid/people/PeopleFilterExposer.java @@ -19,7 +19,6 @@ import com.todoroo.andlib.sql.Join; import com.todoroo.andlib.sql.Order; import com.todoroo.andlib.sql.Query; import com.todoroo.andlib.sql.QueryTemplate; -import com.todoroo.andlib.utility.AndroidUtilities; import com.todoroo.astrid.actfm.sync.ActFmSyncService; import com.todoroo.astrid.api.AstridApiConstants; import com.todoroo.astrid.api.Filter; @@ -100,7 +99,6 @@ public class PeopleFilterExposer extends BroadcastReceiver { @SuppressWarnings("nls") public static FilterWithCustomIntent mySharedTasks(Context context) { - AndroidUtilities.copyDatabases(context, "/sdcard/databases"); TodorooCursor tagsWithMembers = PluginServices.getTagDataService() .query(Query.select(TagData.NAME, TagData.MEMBERS).where(TagData.MEMBER_COUNT.gt(0))); String[] names; diff --git a/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java b/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java index f42948f68..591c0a6d1 100644 --- a/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java +++ b/astrid/src/com/todoroo/astrid/activity/TaskListActivity.java @@ -176,7 +176,6 @@ public class TaskListActivity extends AstridActivity implements MainMenuListener if (extras != null) extras = (Bundle) extras.clone(); - Filter savedFilter = getIntent().getParcelableExtra(TaskListFragment.TOKEN_FILTER); if (Intent.ACTION_SEARCH.equals(getIntent().getAction())) { String query = getIntent().getStringExtra(SearchManager.QUERY).trim();