1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Increased image buffer size

This commit is contained in:
M66B 2019-11-09 11:04:03 +01:00
parent dd7a25d960
commit ba01936504

View file

@ -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);