commit | ac0cf36b98237ec911f49e7b1b93ef6464666e48 | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@mm-sol.com> | Tue Feb 07 19:13:36 2012 +0200 |
committer | Wu-cheng Li <wuchengli@google.com> | Sat Feb 11 02:52:10 2012 +0800 |
tree | 06a68b2ed1c5b1cbbce6c1d254c61bce79d90fdb | |
parent | c1b78765729c878af2016c05e6a036e688191f95 [diff] |
CameraHal: Various AF related fixes - In case of AF timeout the focus callback was being disabled. This callback will not get re-enabled again until preview is restarted. - Cancel AF is not working properly. Depending on the timing the off status event might not reach 'doAutoFocus()'. - This change also replaces the 'mDoAFSem' semaphore with a condition variable. Change-Id: I2ab7d87a05d97435aa6e67a122cc37a975794fc2 Signed-off-by: Emilian Peev <epeev@mm-sol.com>