diff options
| author | John Reck <jreck@google.com> | 2012-10-07 12:11:25 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2012-10-07 12:11:25 -0700 |
| commit | 65ecdd72dcb21591293d0b16b109938fc570f2ec (patch) | |
| tree | 2c7fdd47d4b7d9ad7f731b473fa8fc7b4d0eb505 | |
| parent | e4b56625968d59613df11a6a487c313577ec75e5 (diff) | |
| parent | 278e4fe02f9754bc84a646988aa6ff31109b22e0 (diff) | |
| download | android_packages_apps_Gallery2-65ecdd72dcb21591293d0b16b109938fc570f2ec.tar.gz android_packages_apps_Gallery2-65ecdd72dcb21591293d0b16b109938fc570f2ec.tar.bz2 android_packages_apps_Gallery2-65ecdd72dcb21591293d0b16b109938fc570f2ec.zip | |
am 278e4fe0: Merge "Animation support" into gb-ub-photos-arches
* commit '278e4fe02f9754bc84a646988aa6ff31109b22e0':
Animation support
| -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 738ae3d90..a393025fa 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 { |
