summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android/gallery3d/common
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-07-20 11:38:48 +0800
committerChih-Chung Chang <chihchung@google.com>2012-07-20 11:39:24 +0800
commit84629ee950ade6f1e6beefacbe06cc110b987124 (patch)
tree9dac37cf337e5ba18aaafaa78bdd2ca3219e68d1 /gallerycommon/src/com/android/gallery3d/common
parentba1e4cb460bb95f366154d8fcb67bab681fbab75 (diff)
downloadandroid_packages_apps_Snap-84629ee950ade6f1e6beefacbe06cc110b987124.tar.gz
android_packages_apps_Snap-84629ee950ade6f1e6beefacbe06cc110b987124.tar.bz2
android_packages_apps_Snap-84629ee950ade6f1e6beefacbe06cc110b987124.zip
Only make time lapse recording available on and after Honeycomb.
Change-Id: Ia5b2f69a3c0feb9e0219118a7dd372a09cf2da73
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d/common')
-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 8ebdc1808..229eaedc3 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -98,6 +98,9 @@ public class ApiHelper {
public static final boolean HAS_PANORAMA =
Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
+ public static final boolean HAS_TIME_LAPSE_RECORDING =
+ Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
+
public static int getIntFieldIfExists(Class<?> klass, String fieldName,
Class<?> obj, int defaultVal) {
try {