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:
parent
dd7a25d960
commit
ba01936504
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue