summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-10-06 16:15:52 -0700
committerJohn Reck <jreck@google.com>2012-10-06 16:15:52 -0700
commit94ccecc9ad65dcb9c0810cc3d1b0d1b9276df511 (patch)
treebd1c01de711148c3b95890a50f92ae573714b233
parent82da69ff867e4e19f0adb970933a42eb65d973ed (diff)
downloadandroid_packages_apps_Snap-94ccecc9ad65dcb9c0810cc3d1b0d1b9276df511.zip
android_packages_apps_Snap-94ccecc9ad65dcb9c0810cc3d1b0d1b9276df511.tar.gz
android_packages_apps_Snap-94ccecc9ad65dcb9c0810cc3d1b0d1b9276df511.tar.bz2
Animation support
Bug: 7300696 Change-Id: I80bfb27114a06dfc6f0f1aa866224cd547cc929d
-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 738ae3d..a393025 100644
--- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
+++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java
@@ -164,6 +164,9 @@ public class ApiHelper {
public static final boolean CAN_START_PREVIEW_IN_JPEG_CALLBACK =
Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH;
+ public static final boolean HAS_VIEW_PROPERTY_ANIMATOR =
+ Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB_MR1;
+
public static int getIntFieldIfExists(Class<?> klass, String fieldName,
Class<?> obj, int defaultVal) {
try {