summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/MediaObject.java
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2012-08-24 19:30:08 +0800
committerAngus Kong <shkong@google.com>2012-08-29 19:43:12 +0800
commitf40669b90a0e3acd49bf2d3a7f889e0d89c24a95 (patch)
tree6f9beead520e7389cafa147fe203daffe7709526 /src/com/android/gallery3d/data/MediaObject.java
parent25f2aa192479a87abdec2ab66b05820290c465d3 (diff)
downloadandroid_packages_apps_Snap-f40669b90a0e3acd49bf2d3a7f889e0d89c24a95.tar.gz
android_packages_apps_Snap-f40669b90a0e3acd49bf2d3a7f889e0d89c24a95.tar.bz2
android_packages_apps_Snap-f40669b90a0e3acd49bf2d3a7f889e0d89c24a95.zip
Invoke LightCycle viewer for panoramas.
1. Add SUPPORT_PANORAMA_VIEW to supported operations. 2. Add helper methods in LightCycleHelper: a. checks if the image file is a panorama. b. invokes the panorama view activity. bug:6912297 Change-Id: I7909e49632cad02a795943a113bca6aec17df9dd
Diffstat (limited to 'src/com/android/gallery3d/data/MediaObject.java')
-rw-r--r--src/com/android/gallery3d/data/MediaObject.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/data/MediaObject.java b/src/com/android/gallery3d/data/MediaObject.java
index 45f425fdd..87f567d7a 100644
--- a/src/com/android/gallery3d/data/MediaObject.java
+++ b/src/com/android/gallery3d/data/MediaObject.java
@@ -37,6 +37,7 @@ public abstract class MediaObject {
public static final int SUPPORT_INFO = 1 << 10;
public static final int SUPPORT_IMPORT = 1 << 11;
public static final int SUPPORT_TRIM = 1 << 12;
+ public static final int SUPPORT_VIEW_PANORAMA = 1 << 13;
public static final int SUPPORT_ALL = 0xffffffff;
// These are the bits returned from getMediaType():