mirror of https://github.com/M66B/FairEmail.git
Increased image buffer size
This commit is contained in:
parent
dd7a25d960
commit
ba01936504
|
@ -391,7 +391,7 @@ class ImageHelper {
|
||||||
BufferedInputStream is = new BufferedInputStream(urlConnection.getInputStream());
|
BufferedInputStream is = new BufferedInputStream(urlConnection.getInputStream());
|
||||||
|
|
||||||
Log.i("Probe " + a.source);
|
Log.i("Probe " + a.source);
|
||||||
is.mark(8192);
|
is.mark(64 * 1024);
|
||||||
BitmapFactory.Options options = new BitmapFactory.Options();
|
BitmapFactory.Options options = new BitmapFactory.Options();
|
||||||
options.inJustDecodeBounds = true;
|
options.inJustDecodeBounds = true;
|
||||||
BitmapFactory.decodeStream(is, null, options);
|
BitmapFactory.decodeStream(is, null, options);
|
||||||
|
|
Loading…
Reference in New Issue