diff options
author | John Reck <jreck@google.com> | 2012-10-22 16:21:31 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-10-22 16:21:31 -0700 |
commit | 8c18fb9269c4fdd72a48ec76851e293950190b29 (patch) | |
tree | cd520d64e3b5434d970c5f07dd309251c94851ee /gallerycommon/src/com | |
parent | d49f3bb068bf4fd78480cf9de04d28c9ae70388f (diff) | |
parent | d4f9359d64b447e78c5101d11e71b628fc82ef2c (diff) | |
download | android_packages_apps_Snap-8c18fb9269c4fdd72a48ec76851e293950190b29.tar.gz android_packages_apps_Snap-8c18fb9269c4fdd72a48ec76851e293950190b29.tar.bz2 android_packages_apps_Snap-8c18fb9269c4fdd72a48ec76851e293950190b29.zip |
am ff4e0460: Merge "Drive GLRootView with Choreographer" into gb-ub-photos-arches
* commit 'ff4e0460b4cdeb329e37cb5f41eedc45717a17c4':
Drive GLRootView with Choreographer
Diffstat (limited to 'gallerycommon/src/com')
-rw-r--r-- | gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 3 |
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 a393025fa..837777e51 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 { |