libcamera2: initialize camera device AF state
authorAlex Ray <aray@google.com>
Wed, 27 Mar 2013 23:29:00 +0000 (16:29 -0700)
committerAlex Ray <aray@google.com>
Wed, 27 Mar 2013 23:29:30 +0000 (16:29 -0700)
Bug: 8491870
Change-Id: I29922e819a0274f8ab9a102d998659070fd35341

libcamera2/ExynosCameraHWInterface2.cpp

index 82b4f1afddbd5510f996ca6b092810e9804bc7f1..9b8406eea4eed8ef43ae3ed9e08a4ad3550180a7 100644 (file)
@@ -949,6 +949,7 @@ ExynosCameraHWInterface2::ExynosCameraHWInterface2(int cameraId, camera2_device_
             m_IsAfModeUpdateRequired(false),
             m_IsAfTriggerRequired(false),
             m_IsAfLockRequired(false),
+            m_serviceAfState(ANDROID_CONTROL_AF_STATE_INACTIVE),
             m_sccLocalBufferValid(false),
             m_wideAspect(false),
             m_scpOutputSignalCnt(0),