From 585663e31d75ad9fc4e681465fa0ad4cfd489b6a Mon Sep 17 00:00:00 2001 From: Angus Kong Date: Tue, 31 Jul 2012 09:50:12 +0800 Subject: Add API check for camera metering area. bug:6881073 Change-Id: I08ea3bd8e6f128e8998f4048eb451cb80c342fe5 --- gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gallerycommon/src/com/android/gallery3d/common') 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; -- cgit v1.2.3