summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Ray <aray@google.com>2013-04-23 01:16:11 -0700
committerHashcode <hashcode0f@gmail.com>2015-02-03 14:02:42 -0800
commit273c47ee22ecc6d0dab7c81a04877f1deda32fec (patch)
treee25271919ebc483a2106ded7fed7c33e4653af3b
parentd90446340834c8c10cdd7bf94852747c96c4afa3 (diff)
downloadhardware_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.cpp6
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);