summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/util
diff options
context:
space:
mode:
authorMangesh Ghiware <mghiware@google.com>2012-10-07 23:55:43 -0700
committerMangesh Ghiware <mghiware@google.com>2012-10-08 00:59:52 -0700
commit96e48d0946d3b3178a784f92fb40f21307cdd518 (patch)
tree4a03bdbfdcf21ca007ea5c64ed32d19119ce9575 /src/com/android/gallery3d/util
parent6f51ef0ceeac577e983a95a93eb79b42be8f4eaa (diff)
downloadandroid_packages_apps_Snap-96e48d0946d3b3178a784f92fb40f21307cdd518.tar.gz
android_packages_apps_Snap-96e48d0946d3b3178a784f92fb40f21307cdd518.tar.bz2
android_packages_apps_Snap-96e48d0946d3b3178a784f92fb40f21307cdd518.zip
Share only 360-degree panoramas with new MIME type
Bug: 7302972 Instead of using the UsePanoramaViewer attribute in XMP metadata, ensure that the panorama is full 360 degree by checking if the cropped width is same as the full panorama width. Change-Id: I66d864df96052f96db5fa19fb02b3abe214b4dec
Diffstat (limited to 'src/com/android/gallery3d/util')
-rw-r--r--src/com/android/gallery3d/util/GalleryUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/util/GalleryUtils.java b/src/com/android/gallery3d/util/GalleryUtils.java
index 05bd3dea6..16eb424b5 100644
--- a/src/com/android/gallery3d/util/GalleryUtils.java
+++ b/src/com/android/gallery3d/util/GalleryUtils.java
@@ -58,7 +58,7 @@ public class GalleryUtils {
public static final String MIME_TYPE_IMAGE = "image/*";
public static final String MIME_TYPE_VIDEO = "video/*";
- public static final String MIME_TYPE_PANORAMA = "application/vnd.google.panorama360+jpg";
+ public static final String MIME_TYPE_PANORAMA360 = "application/vnd.google.panorama360+jpg";
public static final String MIME_TYPE_ALL = "*/*";
private static final String DIR_TYPE_IMAGE = "vnd.android.cursor.dir/image";