summaryrefslogtreecommitdiffstats
path: root/src_pd
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2012-10-18 14:20:39 -0700
committerGeorge Mount <mount@google.com>2012-10-18 16:32:48 -0700
commit16b3bfbbd2a6447684ac406554f862b29c873751 (patch)
treef2363be751273002eb7716404c601d230ce2cc18 /src_pd
parent79b74e0fd52cd2ba92130c5131474d52170d6f7e (diff)
downloadandroid_packages_apps_Snap-16b3bfbbd2a6447684ac406554f862b29c873751.zip
android_packages_apps_Snap-16b3bfbbd2a6447684ac406554f862b29c873751.tar.gz
android_packages_apps_Snap-16b3bfbbd2a6447684ac406554f862b29c873751.tar.bz2
Remove panorama checks from supported operations.
Bug 7351383 Bug 7349438 Move panorama support checks from getSupportedOperations so that calls to getSupportedOperations are consistent. Panorama checks are moved to only based on callbacks. Change-Id: Id9ff138204df84c6fb0a4c971dcea59f1220aee2
Diffstat (limited to 'src_pd')
-rw-r--r--src_pd/com/android/gallery3d/util/LightCycleHelper.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src_pd/com/android/gallery3d/util/LightCycleHelper.java b/src_pd/com/android/gallery3d/util/LightCycleHelper.java
index 6ebd9ec..68c0195 100644
--- a/src_pd/com/android/gallery3d/util/LightCycleHelper.java
+++ b/src_pd/com/android/gallery3d/util/LightCycleHelper.java
@@ -61,6 +61,8 @@ public class LightCycleHelper {
}
}
+ private static final PanoramaMetadata NOT_PANORAMA = new PanoramaMetadata(false, false);
+
public static void setupCaptureIntent(Context context, Intent it, String outputDir) {
/* Do nothing */
}
@@ -70,7 +72,7 @@ public class LightCycleHelper {
}
public static PanoramaMetadata getPanoramaMetadata(Context context, Uri uri) {
- return null;
+ return NOT_PANORAMA;
}
public static CameraModule createPanoramaModule() {