diff options
author | Angus Kong <shkong@google.com> | 2012-07-20 15:59:50 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2012-07-20 16:03:56 +0800 |
commit | b593dbcb19db6d8cd1a4eddcaffd1c1073c406a7 (patch) | |
tree | 1cfddbcdb52cd5745dbdb047ad466b91ac18f0cf /gallerycommon/src/com/android/gallery3d/common | |
parent | 5a0e374ef4a35211d5ae149ac6adb91ce5375911 (diff) | |
download | android_packages_apps_Snap-b593dbcb19db6d8cd1a4eddcaffd1c1073c406a7.tar.gz android_packages_apps_Snap-b593dbcb19db6d8cd1a4eddcaffd1c1073c406a7.tar.bz2 android_packages_apps_Snap-b593dbcb19db6d8cd1a4eddcaffd1c1073c406a7.zip |
Add check for camcorder zoom.
bug:6838676
Change-Id: I9aeda27cf55ded444841ade40ea1eb1b91da01cb
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d/common')
-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 229eaedc3..d586ca47f 100644 --- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java +++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java @@ -101,6 +101,9 @@ public class ApiHelper { public static final boolean HAS_TIME_LAPSE_RECORDING = Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; + public static final boolean HAS_CAMCORDER_ZOOM = + Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH; + public static int getIntFieldIfExists(Class<?> klass, String fieldName, Class<?> obj, int defaultVal) { try { |