mirror of https://github.com/M66B/FairEmail.git
Reduced logging
This commit is contained in:
parent
5b39fe3da0
commit
d648ec712b
|
@ -316,7 +316,7 @@ class ImageHelper {
|
|||
try {
|
||||
int scaleToPixels = res.getDisplayMetrics().widthPixels;
|
||||
ByteArrayInputStream bis = getDataUriStream(a.source);
|
||||
Bitmap bm = getScaledBitmap(bis, a.source, scaleToPixels);
|
||||
Bitmap bm = getScaledBitmap(bis, "data:" + getDataUriType(a.source), scaleToPixels);
|
||||
if (bm == null)
|
||||
throw new IllegalArgumentException("decode byte array failed");
|
||||
|
||||
|
|
Loading…
Reference in New Issue