summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2012-05-09 18:32:36 -0700
committerEino-Ville Talvala <etalvala@google.com>2012-05-09 18:32:36 -0700
commit58cfa8af0ef6ff541a638756866427aced483943 (patch)
treecaacca2e6b95e63716b198a47e599d4a35c37c4a
parent5b878d24c1f01a5f131d470280b51bcfb5638600 (diff)
downloadcore-58cfa8af0ef6ff541a638756866427aced483943.tar.gz
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
-rw-r--r--include/system/camera.h3
1 files changed, 2 insertions, 1 deletions
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,