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