--- a/camerauis/cameraxui/cxengine/src/cxeautofocuscontrolsymbian.cpp Fri Aug 06 10:03:37 2010 +0300
+++ b/camerauis/cameraxui/cxengine/src/cxeautofocuscontrolsymbian.cpp Mon Aug 23 13:50:05 2010 +0300
@@ -78,6 +78,10 @@
OstTrace0(camerax_performance, CXEAUTOFOCUSCONTROLSYMBIAN_CREATE_MID2, "msg: e_CX_ENGINE_CONNECT_SIGNALS 0");
initializeResources();
+
+ setMode(CxeAutoFocusControl::Hyperfocal);
+ // autofocus sounds should be disabled by default
+ mSoundEnabled = false;
CX_DEBUG_EXIT_FUNCTION();
}
@@ -320,6 +324,7 @@
// No check if non-null. Not supported if zero pointer (see supported() ).
mAdvancedSettings = mCameraDevice.advancedSettings();
+ CX_ASSERT_ALWAYS(mAdvancedSettings);
CX_DEBUG_EXIT_FUNCTION();
}