summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android
diff options
context:
space:
mode:
authorPin Ting <pinting@google.com>2012-08-07 15:53:18 -0700
committerPin Ting <pinting@google.com>2012-08-07 16:19:00 -0700
commit6da4724e8d21e0e3df809a832c72365528959b27 (patch)
tree79e72531073b09c4d18ba842b55730dd86f1cac9 /gallerycommon/src/com/android
parentfbf6dbaf20e1508f19468c33021813d078afdb35 (diff)
downloadandroid_packages_apps_Snap-6da4724e8d21e0e3df809a832c72365528959b27.tar.gz
android_packages_apps_Snap-6da4724e8d21e0e3df809a832c72365528959b27.tar.bz2
android_packages_apps_Snap-6da4724e8d21e0e3df809a832c72365528959b27.zip
Hide effect recording UI in ICS api level.
Bug:6913179 Change-Id: I76e533fa04ac35a1e5b1ee54b9e120434e96ebbf
Diffstat (limited to 'gallerycommon/src/com/android')
-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 fbe0fbbb5..3150442c7 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -133,6 +133,9 @@ public class ApiHelper {
public static final boolean HAS_SHARE_ACTION_PROVIDER =
Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH;
+ public static final boolean HAS_EFFECTS_RECORDING =
+ Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
+
public static int getIntFieldIfExists(Class<?> klass, String fieldName,
Class<?> obj, int defaultVal) {
try {