From 42a49fbd4e00e64086ed3d5a7afdc1a505d10683 Mon Sep 17 00:00:00 2001 From: Vavassor Date: Wed, 26 Jul 2017 00:12:02 -0400 Subject: [PATCH] Updates the upload size limit and correct it to power of two numbers of bytes as it actually always was. --- app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java b/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java index 2b1a5ea8f..197447bef 100644 --- a/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java @@ -123,7 +123,7 @@ import retrofit2.Response; public class ComposeActivity extends BaseActivity implements ComposeOptionsFragment.Listener, ParserUtils.ParserListener { private static final String TAG = "ComposeActivity"; // logging tag private static final int STATUS_CHARACTER_LIMIT = 500; - private static final int STATUS_MEDIA_SIZE_LIMIT = 4000000; // 4MB + private static final int STATUS_MEDIA_SIZE_LIMIT = 8388608; // 8MiB private static final int MEDIA_PICK_RESULT = 1; private static final int MEDIA_TAKE_PHOTO_RESULT = 2; private static final int PERMISSIONS_REQUEST_READ_EXTERNAL_STORAGE = 1;