1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Android is growing up a bit. artificially limiting the user to

attachments of only 5MB is counter-productive, bump the artificial limit
to 128M
This commit is contained in:
Jesse Vincent 2010-07-19 01:55:09 +00:00
parent 6ef923be91
commit f7032c4161

View File

@ -209,7 +209,7 @@ public class K9 extends Application
* so we should probably factor that in. A 5MB attachment will generally be around * so we should probably factor that in. A 5MB attachment will generally be around
* 6.8MB downloaded but only 5MB saved. * 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 * Max time (in millis) the wake lock will be held for when background sync is happening