OSDN Git Service

commandStartFaceDetectionL returned the wrong value when face detection is not suppor...
authorZiv Hendel <ziv@primesense.com>
Thu, 21 Mar 2013 01:25:32 +0000 (03:25 +0200)
committerIgor Murashkin <iam@google.com>
Thu, 21 Mar 2013 18:32:06 +0000 (11:32 -0700)
commitcaf3a9c1447f602c658f558025b90413d1b4114d
tree799a8159071e3fc652f47c0b4b211bf39476b580
parent96954c00cc8887f216ba84e126ab4a1100f348b4
commandStartFaceDetectionL returned the wrong value when face detection is not supported by the HAL.
This caused the JNI function to fail since it expected a BAD_VALUE response in that case.

Change-Id: I53107a3958d541c25930b81eda638d4b6a394254
Signed-off-by: Igor Murashkin <iam@google.com>
services/camera/libcameraservice/Camera2Client.cpp