From f7032c41615c95d172d5b6e089f897d8ccd73fb4 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 19 Jul 2010 01:55:09 +0000 Subject: [PATCH] Android is growing up a bit. artificially limiting the user to attachments of only 5MB is counter-productive, bump the artificial limit to 128M --- src/com/fsck/k9/K9.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/K9.java b/src/com/fsck/k9/K9.java index 0898b87da..440b25e1a 100644 --- a/src/com/fsck/k9/K9.java +++ b/src/com/fsck/k9/K9.java @@ -209,7 +209,7 @@ public class K9 extends Application * so we should probably factor that in. A 5MB attachment will generally be around * 6.8MB downloaded but only 5MB saved. */ - public static final int MAX_ATTACHMENT_DOWNLOAD_SIZE = (5 * 1024 * 1024); + public static final int MAX_ATTACHMENT_DOWNLOAD_SIZE = (128 * 1024 * 1024); /** * Max time (in millis) the wake lock will be held for when background sync is happening