mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Increased image buffer size
This commit is contained in:
@@ -391,7 +391,7 @@ class ImageHelper {
|
||||
BufferedInputStream is = new BufferedInputStream(urlConnection.getInputStream());
|
||||
|
||||
Log.i("Probe " + a.source);
|
||||
is.mark(8192);
|
||||
is.mark(64 * 1024);
|
||||
BitmapFactory.Options options = new BitmapFactory.Options();
|
||||
options.inJustDecodeBounds = true;
|
||||
BitmapFactory.decodeStream(is, null, options);
|
||||
|
||||
Reference in New Issue
Block a user