mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-24 11:12:54 +01:00
Reduced logging
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user