CameraHal: Sync AF cancel with incoming OMX events

- Cancel AF is made to wait on incoming OMX events
  when AF status changes. An AF timeout is introduced
  in order not to block this call indefinitely.
- Additionally calls to 'autoFocus()' will immediately
  trigger AF callbacks if fixed modes are being used.

Bug: 6949572

Change-Id: I5f240fb6fc7fe53aecaff76d75d608dd522c1e27
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
2 files changed