commit | 38ff40dbd2103bf189b536a27194091e966d7b50 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Sat Oct 06 16:15:52 2012 -0700 |
committer | John Reck <jreck@google.com> | Sat Oct 06 16:15:52 2012 -0700 |
tree | 0d045c8d54fc8ed2cd07ab823e0e5d488a565549 | |
parent | 9b672371b88dddce1b56f31503ac01c730768d06 [diff] |
Animation support Bug: 7300696 Change-Id: I80bfb27114a06dfc6f0f1aa866224cd547cc929d
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 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 {