From 0a0cc9bb0072c01a9b35c3d0275f9bcacfc7d988 Mon Sep 17 00:00:00 2001 From: Pin Ting Date: Tue, 25 Sep 2012 15:20:36 +0800 Subject: Enable effects recording in JellyBean. Bug:7106963 Change-Id: I2ef0a30d1b9c970fdd9ce01459173db3bde99c6b --- gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gallerycommon') 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; -- cgit v1.2.3