Browse Source

Update the list in onCreate but not onResume, gets annoying going back from details

pull/13/head
Tom Briden 11 years ago
parent
commit
04d9bae17e
  1. 4
      core/src/org/transdroid/core/gui/TorrentsActivity.java

4
core/src/org/transdroid/core/gui/TorrentsActivity.java

@ -230,6 +230,8 @@ public class TorrentsActivity extends SherlockFragmentActivity implements OnNavi @@ -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 @@ -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

Loading…
Cancel
Save