summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/PhotoPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/app/PhotoPage.java')
-rwxr-xr-xsrc/com/android/gallery3d/app/PhotoPage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java
index 7f4671364..4fcd028c6 100755
--- a/src/com/android/gallery3d/app/PhotoPage.java
+++ b/src/com/android/gallery3d/app/PhotoPage.java
@@ -1546,7 +1546,8 @@ public abstract class PhotoPage extends ActivityState implements
}
private static void viewAnimateGif(Activity activity, Uri uri) {
- Intent intent = new Intent(ViewGifImage.VIEW_GIF_ACTION, uri);
+ Intent intent = new Intent(ViewGifImage.VIEW_GIF_ACTION);
+ intent.setDataAndType(uri, MediaItem.MIME_TYPE_GIF);
activity.startActivity(intent);
}
}