|
|
@ -246,8 +246,7 @@ public class AdapterMedia extends RecyclerView.Adapter<AdapterMedia.ViewHolder>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P &&
|
|
|
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P &&
|
|
|
|
!"image/svg+xml".equals(type) &&
|
|
|
|
!"image/svg+xml".equalsIgnoreCase(type))
|
|
|
|
!"svg".equals(Helper.getExtension(file.getName())))
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
return ImageHelper.getScaledDrawable(context, file, type, max);
|
|
|
|
return ImageHelper.getScaledDrawable(context, file, type, max);
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|