1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-03 18:26:20 +00:00

Increased probe size

This commit is contained in:
M66B 2021-10-12 16:01:33 +02:00
parent 17365cbb9b
commit d68531ae65

View file

@ -87,7 +87,7 @@ class ImageHelper {
Helper.getBackgroundExecutor(0, "image_n");
static final int DOWNLOAD_TIMEOUT = 15; // seconds
private static final int MAX_PROBE = 64 * 1024; // bytes
private static final int MAX_PROBE = 128 * 1024; // bytes
private static final int SLOW_CONNECTION = 2 * 1024; // Kbps
// https://developer.android.com/guide/topics/media/media-formats#image-formats