summaryrefslogtreecommitdiffstats
path: root/gallerycommon
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-10-22 16:19:52 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-22 16:19:52 -0700
commitd4f9359d64b447e78c5101d11e71b628fc82ef2c (patch)
tree815d0602ec4d85f71963fa185f17f934191bb908 /gallerycommon
parente49d4f91b60b33c8f2f59e217916ffe4507f1714 (diff)
parentccd5750055f6b692f4d5bb9fd1a1a8428966cbed (diff)
downloadandroid_packages_apps_Snap-d4f9359d64b447e78c5101d11e71b628fc82ef2c.zip
android_packages_apps_Snap-d4f9359d64b447e78c5101d11e71b628fc82ef2c.tar.gz
android_packages_apps_Snap-d4f9359d64b447e78c5101d11e71b628fc82ef2c.tar.bz2
Merge "Drive GLRootView with Choreographer" into gb-ub-photos-arches
Diffstat (limited to 'gallerycommon')
-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 a393025..837777e 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -167,6 +167,9 @@ public class ApiHelper {
public static final boolean HAS_VIEW_PROPERTY_ANIMATOR =
Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB_MR1;
+ public static final boolean HAS_POST_ON_ANIMATION =
+ Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
+
public static int getIntFieldIfExists(Class<?> klass, String fieldName,
Class<?> obj, int defaultVal) {
try {