From 96e48d0946d3b3178a784f92fb40f21307cdd518 Mon Sep 17 00:00:00 2001 From: Mangesh Ghiware Date: Sun, 7 Oct 2012 23:55:43 -0700 Subject: 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 --- src_pd/com/android/gallery3d/util/LightCycleHelper.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src_pd/com/android/gallery3d') diff --git a/src_pd/com/android/gallery3d/util/LightCycleHelper.java b/src_pd/com/android/gallery3d/util/LightCycleHelper.java index a4da43cb4..d455ff7c1 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; } -- cgit v1.2.3