fix again a null context

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2018-05-14 14:09:53 +02:00
parent d094946b2d
commit b5bed7874e
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -701,7 +701,8 @@ public class ThumbnailsCacheManager {
if (MimeTypeUtil.isVideo(mFile)) {
imageView.setImageBitmap(ThumbnailsCacheManager.mDefaultVideo);
} else {
imageView.setImageDrawable(MimeTypeUtil.getFileTypeIcon(null, mFile.getName(), null));
imageView.setImageDrawable(MimeTypeUtil.getFileTypeIcon(null, mFile.getName(),
mContext));
}
}
}