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')
-rw-r--r--src/com/android/gallery3d/app/PhotoPage.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java
index 0dcad8152..45709955e 100644
--- a/src/com/android/gallery3d/app/PhotoPage.java
+++ b/src/com/android/gallery3d/app/PhotoPage.java
@@ -810,8 +810,7 @@ public class PhotoPage extends ActivityState implements
playVideo(mActivity, item.getPlayUri(), item.getName());
} else if (viewPanorama) {
LocalImage img = (LocalImage) item;
- LightCycleHelper.viewPanorama(
- mActivity, img.getContentUri(), img.getMimeType());
+ LightCycleHelper.viewPanorama(mActivity, img.getFilePath());
} else {
toggleBars();
}