summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/MediaObject.java
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-10-02 13:30:09 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-02 14:25:05 -0700
commit45f089d69141e3fb0dfaad9bc34d275b61eb2aee (patch)
tree8f2fafbdabd5391e8966d98c4829adcf470180f9 /src/com/android/gallery3d/data/MediaObject.java
parent51915a622bbd32e90f0cd43b69a7851e13825737 (diff)
downloadandroid_packages_apps_Gallery2-45f089d69141e3fb0dfaad9bc34d275b61eb2aee.tar.gz
android_packages_apps_Gallery2-45f089d69141e3fb0dfaad9bc34d275b61eb2aee.tar.bz2
android_packages_apps_Gallery2-45f089d69141e3fb0dfaad9bc34d275b61eb2aee.zip
Show Camera placeholder as first filmstrip item in roll
Bug: 7272674 The camera roll filmstrip view now shows a shortcut to launch the camera when opened from the Gallery app. Note: the edits to SnailAlbum and SnailSource were made to allow sharing code between SingleItemAlbum and SnailAlbum Change-Id: I1bd2f3db99138c4b79a41c9c5baee46704cd18e0
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 9e8d84ca7..e738011ef 100644
--- a/src/com/android/gallery3d/data/MediaObject.java
+++ b/src/com/android/gallery3d/data/MediaObject.java
@@ -41,6 +41,7 @@ public abstract class MediaObject {
public static final int SUPPORT_UNLOCK = 1 << 14;
public static final int SUPPORT_BACK = 1 << 15;
public static final int SUPPORT_ACTION = 1 << 16;
+ public static final int SUPPORT_CAMERA_SHORTCUT = 1 << 17;
public static final int SUPPORT_ALL = 0xffffffff;
// These are the bits returned from getMediaType():