diff options
author | Angus Kong <shkong@google.com> | 2012-07-31 09:50:12 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2012-07-31 15:57:42 +0800 |
commit | 585663e31d75ad9fc4e681465fa0ad4cfd489b6a (patch) | |
tree | c7ea6d6ed7da65413a88b97e08d75f9b4975c6ff /gallerycommon/src/com/android/gallery3d/common | |
parent | 636b8a77e6002c9827ab9886c1460c22cd18b217 (diff) | |
download | android_packages_apps_Snap-585663e31d75ad9fc4e681465fa0ad4cfd489b6a.tar.gz android_packages_apps_Snap-585663e31d75ad9fc4e681465fa0ad4cfd489b6a.tar.bz2 android_packages_apps_Snap-585663e31d75ad9fc4e681465fa0ad4cfd489b6a.zip |
Add API check for camera metering area.
bug:6881073
Change-Id: I08ea3bd8e6f128e8998f4048eb451cb80c342fe5
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 24cb75868..f177973a3 100644 --- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java +++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java @@ -115,6 +115,9 @@ public class ApiHelper { public static final boolean HAS_CAMERA_FOCUS_AREA = Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH; + public static final boolean HAS_CAMERA_METERING_AREA = + Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH; + public static final boolean HAS_FINE_RESOLUTION_QUALITY_LEVELS = Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; |