Add animated image support

This commit is contained in:
seven332 committed 2016-03-04 15:29:10 +08:00
1 parent c32ffb8bbb
commit 41a383c1ac
7 files changed
+324 -129

No files matched your search

@@ -175,7 +175,7 @@ public class ZipGalleryProvider extends GalleryProvider implements Runnable {
ZipEntry zipEntry = zipFile.getEntry(filenames.get(index));
if (zipEntry != null) {
InputStream is = zipFile.getInputStream(zipEntry);
Image image = Image.decode(is, false);
Image image = Image.decode(is, true);
mDecodingIndex.lazySet(GalleryPageView.INVALID_INDEX);
if (image != null) {
notifyPageSucceed(index, image);