diff options
author | Alex Ray <aray@google.com> | 2013-04-23 01:16:11 -0700 |
---|---|---|
committer | Hashcode <hashcode0f@gmail.com> | 2015-02-03 14:02:42 -0800 |
commit | 273c47ee22ecc6d0dab7c81a04877f1deda32fec (patch) | |
tree | e25271919ebc483a2106ded7fed7c33e4653af3b | |
parent | d90446340834c8c10cdd7bf94852747c96c4afa3 (diff) | |
download | hardware_ti_omap4-273c47ee22ecc6d0dab7c81a04877f1deda32fec.zip hardware_ti_omap4-273c47ee22ecc6d0dab7c81a04877f1deda32fec.tar.gz hardware_ti_omap4-273c47ee22ecc6d0dab7c81a04877f1deda32fec.tar.bz2 |
camera: Handle capture request in AF run
camera: Handle capture request in AF run
Bug: 8140969
Change-Id: I1e1889434d57714cdb0c10929609eade299c1ea9
-rw-r--r-- | camera/BaseCameraAdapter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/camera/BaseCameraAdapter.cpp b/camera/BaseCameraAdapter.cpp index 5b1b22f..f979225 100644 --- a/camera/BaseCameraAdapter.cpp +++ b/camera/BaseCameraAdapter.cpp @@ -2198,6 +2198,12 @@ status_t BaseCameraAdapter::setState(CameraCommands operation) mNextState = PREVIEW_STATE; break; + case CAMERA_START_IMAGE_CAPTURE: + CAMHAL_LOGDB("Adapter state switch AF_STATE->CAPTURE_STATE event = 0x%x", + operation); + mNextState = CAPTURE_STATE; + break; + case CAMERA_START_SMOOTH_ZOOM: CAMHAL_LOGDB("Adapter state switch AF_STATE->AF_ZOOM_STATE event = %s", printState); |