summaryrefslogtreecommitdiffstats
path: root/camera/AppCallbackNotifier.cpp
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-11-16 22:18:26 -0600
committerIliyan Malchev <malchev@google.com>2011-11-17 11:45:29 -0800
commit78dac813ae2c442dd0669db208abd3720d0ea6c4 (patch)
tree9665b17816fe62452938c68e8a4b2c756932b37a /camera/AppCallbackNotifier.cpp
parent05ea07dfe04d915b4288d3e71afbf70f8082fea4 (diff)
downloadhardware_ti_omap4xxx-78dac813ae2c442dd0669db208abd3720d0ea6c4.zip
hardware_ti_omap4xxx-78dac813ae2c442dd0669db208abd3720d0ea6c4.tar.gz
hardware_ti_omap4xxx-78dac813ae2c442dd0669db208abd3720d0ea6c4.tar.bz2
CameraHAL: Do not return error if AF fails
Fixes b/5612881 Some third-party apps do not handle errors thrown by the camera HAL when they try to invoke autoFocus while AF is in progress. The Barcode Scanner, in particular, will quit in this case without releasing the Camera handle, wreaking all sorts of power-management havoc. Even though CTS does not mandate it, previous versions of Android and other camera HAL implementations simply return success in this case. This patch makes this HAL conform to this behavior. Change-Id: I758e2de7f84b61043267f052169068b64d75d0d1 Signed-off-by: Sundar Raman <sunds@ti.com>
Diffstat (limited to 'camera/AppCallbackNotifier.cpp')
0 files changed, 0 insertions, 0 deletions