summaryrefslogtreecommitdiffstats
path: root/src_pd/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_pd/com/android/gallery3d/util
parent6f51ef0ceeac577e983a95a93eb79b42be8f4eaa (diff)
downloadandroid_packages_apps_Snap-96e48d0946d3b3178a784f92fb40f21307cdd518.zip
android_packages_apps_Snap-96e48d0946d3b3178a784f92fb40f21307cdd518.tar.gz
android_packages_apps_Snap-96e48d0946d3b3178a784f92fb40f21307cdd518.tar.bz2
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_pd/com/android/gallery3d/util')
-rw-r--r--src_pd/com/android/gallery3d/util/LightCycleHelper.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src_pd/com/android/gallery3d/util/LightCycleHelper.java b/src_pd/com/android/gallery3d/util/LightCycleHelper.java
index a4da43c..d455ff7 100644
--- a/src_pd/com/android/gallery3d/util/LightCycleHelper.java
+++ b/src_pd/com/android/gallery3d/util/LightCycleHelper.java
@@ -49,6 +49,10 @@ public class LightCycleHelper {
return false;
}
+ public static boolean isPanorama360(Context context, Uri uri) {
+ return false;
+ }
+
public static CameraModule createPanoramaModule() {
return null;
}