summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android/gallery3d/common
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2012-07-31 09:50:12 +0800
committerAngus Kong <shkong@google.com>2012-07-31 15:57:42 +0800
commitcd8e78b4e9393317854fc3553ea5fbd03a5557fa (patch)
treef77e790af9580663d6fddaaff5c7ae36c28b36ac /gallerycommon/src/com/android/gallery3d/common
parent2dbd6b0c73987566e8c980ef867a9795627ac41c (diff)
downloadandroid_packages_apps_Snap-cd8e78b4e9393317854fc3553ea5fbd03a5557fa.tar.gz
android_packages_apps_Snap-cd8e78b4e9393317854fc3553ea5fbd03a5557fa.tar.bz2
android_packages_apps_Snap-cd8e78b4e9393317854fc3553ea5fbd03a5557fa.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.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 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;