diff options
Diffstat (limited to 'src/com/android/gallery3d/data/LocalVideo.java')
-rw-r--r-- | src/com/android/gallery3d/data/LocalVideo.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/com/android/gallery3d/data/LocalVideo.java b/src/com/android/gallery3d/data/LocalVideo.java index b1e1cb3aa..4b8774ca4 100644 --- a/src/com/android/gallery3d/data/LocalVideo.java +++ b/src/com/android/gallery3d/data/LocalVideo.java @@ -152,15 +152,17 @@ public class LocalVideo extends LocalMediaItem { @Override public Job<Bitmap> requestImage(int type) { - return new LocalVideoRequest(mApplication, getPath(), type, filePath); + return new LocalVideoRequest(mApplication, getPath(), dateModifiedInSec, + type, filePath); } public static class LocalVideoRequest extends ImageCacheRequest { private String mLocalFilePath; - LocalVideoRequest(GalleryApp application, Path path, int type, - String localFilePath) { - super(application, path, type, MediaItem.getTargetSize(type)); + LocalVideoRequest(GalleryApp application, Path path, long timeModified, + int type, String localFilePath) { + super(application, path, timeModified, type, + MediaItem.getTargetSize(type)); mLocalFilePath = localFilePath; } |