summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src
diff options
context:
space:
mode:
authorPin Ting <pinting@google.com>2012-09-25 15:20:36 +0800
committerPin Ting <pinting@google.com>2012-09-25 16:23:46 +0800
commit03f6fce66de39b3578ac036557c1ec1aed729f61 (patch)
tree01f042bade34c6d42845c4cb2f1544c82903dd23 /gallerycommon/src
parent5eff22421ad9bd7af8611e72d98c7ab71f842cb2 (diff)
downloadandroid_packages_apps_Gallery2-03f6fce66de39b3578ac036557c1ec1aed729f61.tar.gz
android_packages_apps_Gallery2-03f6fce66de39b3578ac036557c1ec1aed729f61.tar.bz2
android_packages_apps_Gallery2-03f6fce66de39b3578ac036557c1ec1aed729f61.zip
Enable effects recording in JellyBean.
Bug:7106963 Change-Id: I2ef0a30d1b9c970fdd9ce01459173db3bde99c6b
Diffstat (limited to 'gallerycommon/src')
-rw-r--r--gallerycommon/src/com/android/gallery3d/common/ApiHelper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
index 802f4ec18..06fb9d902 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -130,7 +130,8 @@ public class ApiHelper {
public static final boolean HAS_MOTION_EVENT_TRANSFORM =
Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
- public static final boolean HAS_EFFECTS_RECORDING = false;
+ public static final boolean HAS_EFFECTS_RECORDING =
+ Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
public static final boolean HAS_GET_SUPPORTED_VIDEO_SIZE =
Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;