From 58cfa8af0ef6ff541a638756866427aced483943 Mon Sep 17 00:00:00 2001 From: Eino-Ville Talvala Date: Wed, 9 May 2012 18:32:36 -0700 Subject: [PATCH] Camera: Document expected error codes for start face detect. Clarify when BAD_VALUE is expected from the camera start face detect command. Bug: 6459066 Change-Id: Id1b3d5047dee2c509aa6e374a5ed439a776b0b87 --- include/system/camera.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/system/camera.h b/include/system/camera.h index b8389b1e2..e4cacc55c 100644 --- a/include/system/camera.h +++ b/include/system/camera.h @@ -137,7 +137,8 @@ enum { * KEY_FOCUS_AREAS and KEY_METERING_AREAS have no effect. * * arg1 is the face detection type. It can be CAMERA_FACE_DETECTION_HW or - * CAMERA_FACE_DETECTION_SW. + * CAMERA_FACE_DETECTION_SW. If the type of face detection requested is not + * supported, the HAL must return BAD_VALUE. */ CAMERA_CMD_START_FACE_DETECTION = 6,