diff options
author | Pin Ting <pinting@google.com> | 2012-09-25 15:20:36 +0800 |
---|---|---|
committer | Pin Ting <pinting@google.com> | 2012-09-25 16:23:46 +0800 |
commit | 0a0cc9bb0072c01a9b35c3d0275f9bcacfc7d988 (patch) | |
tree | ca2df8fc2fba4c7fc731377b49157f6866a50ed3 /gallerycommon/src/com/android/gallery3d | |
parent | 53b1c293a1ebb18e18d8b7df3c976f1b7392a18e (diff) | |
download | android_packages_apps_Snap-0a0cc9bb0072c01a9b35c3d0275f9bcacfc7d988.tar.gz android_packages_apps_Snap-0a0cc9bb0072c01a9b35c3d0275f9bcacfc7d988.tar.bz2 android_packages_apps_Snap-0a0cc9bb0072c01a9b35c3d0275f9bcacfc7d988.zip |
Enable effects recording in JellyBean.
Bug:7106963
Change-Id: I2ef0a30d1b9c970fdd9ce01459173db3bde99c6b
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d')
-rw-r--r-- | gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 3 |
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; |