mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02: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