1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

We shouldn't be resetting visible limits every time K-9 is opened, only when the user changes

how many messages they want to be synced, otherwise the "fetch more messages" option is session-only, which is really, really wasteful of network. (and "session" is poorly defined, since android manages our lifecycle.)

Additionally, doing this at startup has huge overhead. If this functionality is ever restored, we should make it asynchronous
This commit is contained in:
Jesse Vincent 2010-12-24 22:48:11 +00:00
parent 9878b74379
commit 30b7402569

View File

@ -520,7 +520,6 @@ public class K9 extends Application
K9.setK9Language(sprefs.getString("language", ""));
K9.setK9Theme(sprefs.getInt("theme", android.R.style.Theme_Light));
MessagingController.getInstance(this).resetVisibleLimits(prefs.getAvailableAccounts());
/*
* We have to give MimeMessage a temp directory because File.createTempFile(String, String)