summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android/gallery3d/common
diff options
context:
space:
mode:
authorYuli Huang <yuli@google.com>2012-08-06 17:55:30 +0800
committerYuli Huang <yuli@google.com>2012-08-07 16:10:21 +0800
commit51fbbcf9abe7528ee4b8d083fa3b6c2426e69688 (patch)
tree04d23b985d07bebe67cb4767f7259fb738971a9a /gallerycommon/src/com/android/gallery3d/common
parent8df785a5c11d728892102f0faefc0d3c719bc207 (diff)
downloadandroid_packages_apps_Snap-51fbbcf9abe7528ee4b8d083fa3b6c2426e69688.tar.gz
android_packages_apps_Snap-51fbbcf9abe7528ee4b8d083fa3b6c2426e69688.tar.bz2
android_packages_apps_Snap-51fbbcf9abe7528ee4b8d083fa3b6c2426e69688.zip
Do not show photo editor before api level 14.
bug:6927717 Change-Id: Iab0fddaa169e03b65dd0a987ee8b5c892f971000
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d/common')
-rw-r--r--gallerycommon/src/com/android/gallery3d/common/ApiHelper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
index f95fb81df..dcea0e420 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -38,6 +38,9 @@ public class ApiHelper {
public static final int JELLY_BEAN = 16;
}
+ public static final boolean ENABLE_PHOTO_EDITOR =
+ Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH;
+
public static final boolean HAS_VIEW_SYSTEM_UI_FLAG_LAYOUT_STABLE =
hasField(View.class, "SYSTEM_UI_FLAG_LAYOUT_STABLE");