1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 01:36:55 +00:00

Workaround for failing Samsung image decoder

This commit is contained in:
M66B 2020-09-11 08:02:26 +02:00
parent 43231cb373
commit e74bc8772a

View file

@ -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: