enable video thumbnail

This commit is contained in:
tobiasKaminsky 2015-06-27 21:51:49 +02:00
parent 57991cb8c4
commit c0b7590a03

View file

@ -294,7 +294,7 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter {
// No Folder // No Folder
if (!file.isFolder()) { if (!file.isFolder()) {
if (file.isImage() && file.getRemoteId() != null){ if ((file.isImage() || file.isVideo()) && file.getRemoteId() != null){
// Thumbnail in Cache? // Thumbnail in Cache?
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache( Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
String.valueOf(file.getRemoteId()) String.valueOf(file.getRemoteId())