From e242e1b75bbf2aff9cac6cae024829f215554046 Mon Sep 17 00:00:00 2001 From: Pin Ting Date: Tue, 7 Aug 2012 15:53:18 -0700 Subject: Hide effect recording UI in ICS api level. Bug:6913179 Change-Id: I76e533fa04ac35a1e5b1ee54b9e120434e96ebbf --- gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gallerycommon/src/com/android/gallery3d') 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 { -- cgit v1.2.3