Workaround for failing Samsung image decoder

pull/185/head
M66B 4 years ago
parent 43231cb373
commit e74bc8772a

@ -685,7 +685,7 @@ class ImageHelper {
});
} catch (Throwable ex) {
Log.i(ex);
if (ex instanceof IOException)
if (!"android.graphics.ImageDecoder$DecodeException".equals(ex.getClass().getName()))
throw ex;
/*
Samsung:

Loading…
Cancel
Save