Workaround for failing Samsung image decoder

This commit is contained in:
M66B 2020-09-11 08:02:26 +02:00
parent 43231cb373
commit e74bc8772a
1 changed files with 1 additions and 1 deletions

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: