From 04d9bae17ea715dfce9c05b38c8d60f4818f1f5c Mon Sep 17 00:00:00 2001 From: Tom Briden Date: Fri, 4 Oct 2013 13:21:41 +0100 Subject: [PATCH] Update the list in onCreate but not onResume, gets annoying going back from details --- core/src/org/transdroid/core/gui/TorrentsActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/org/transdroid/core/gui/TorrentsActivity.java b/core/src/org/transdroid/core/gui/TorrentsActivity.java index 0e1927f4..e1c75160 100644 --- a/core/src/org/transdroid/core/gui/TorrentsActivity.java +++ b/core/src/org/transdroid/core/gui/TorrentsActivity.java @@ -230,6 +230,8 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi // Start the alarms for the background services, if needed BootReceiver.startBackgroundServices(getApplicationContext(), false); BootReceiver.startAppUpdatesService(getApplicationContext()); + + filterSelected(lastUsed, true); } @@ -246,7 +248,7 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi return; } // There is a server know (now): forcefully select it to establish a connection - filterSelected(lastUsed, true); + //filterSelected(lastUsed, true); } @Override