summaryrefslogtreecommitdiffstats
path: root/src_pd/com/android/gallery3d/util
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2012-10-23 14:28:58 -0700
committerGeorge Mount <mount@google.com>2012-10-23 14:28:58 -0700
commit4588b65ebb1aacef2a991d5da6659d69f791e571 (patch)
tree9d10e6c7f9c7a8997e1fbc71de4cd247c3d943de /src_pd/com/android/gallery3d/util
parent072e41e2c00abdc8f7e780679b5a943d41c6f1e6 (diff)
downloadandroid_packages_apps_Snap-4588b65ebb1aacef2a991d5da6659d69f791e571.zip
android_packages_apps_Snap-4588b65ebb1aacef2a991d5da6659d69f791e571.tar.gz
android_packages_apps_Snap-4588b65ebb1aacef2a991d5da6659d69f791e571.tar.bz2
Fix NPE in detecting panoramas.
Bug 7398022 Change-Id: Iae646c424ffbe552d014f563c8f4e5e4385b4724
Diffstat (limited to 'src_pd/com/android/gallery3d/util')
-rw-r--r--src_pd/com/android/gallery3d/util/LightCycleHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src_pd/com/android/gallery3d/util/LightCycleHelper.java b/src_pd/com/android/gallery3d/util/LightCycleHelper.java
index 68c0195..bceeea6 100644
--- a/src_pd/com/android/gallery3d/util/LightCycleHelper.java
+++ b/src_pd/com/android/gallery3d/util/LightCycleHelper.java
@@ -61,7 +61,7 @@ public class LightCycleHelper {
}
}
- private static final PanoramaMetadata NOT_PANORAMA = new PanoramaMetadata(false, false);
+ public static final PanoramaMetadata NOT_PANORAMA = new PanoramaMetadata(false, false);
public static void setupCaptureIntent(Context context, Intent it, String outputDir) {
/* Do nothing */