cam_debug(LOG_MM, "capture end, preview start");
}
}
-
- if (previous == CAMERA_STATE_CREATED && current == CAMERA_STATE_PREVIEW) {
- cam_info(LOG_UI, "!!!!Preview Began");
-#ifndef CAMERA_MACHINE_I686
- if (ad->toolbar_setting_popup == NULL) {
- if ((camapp->shooting_mode == CAM_SELF_MODE)
- ||(camapp->recording_mode == CAM_RECORD_SELF)
- ||(camapp->recording_mode == CAM_RECORD_SELF_MMS) ) {
- DEBUG_TRACE("Not need to make setting menu");
- } else {
- ecore_idler_add(cam_app_launch_after_preview_began, ad);
- }
- }
-#endif
- }
} else if (camapp->camera_mode == CAM_CAMCORDER_MODE) {
if (((previous == RECORDER_STATE_RECORDING)
&& (current != RECORDER_STATE_PAUSED))
}
- if (previous == RECORDER_STATE_CREATED && current == RECORDER_STATE_READY) {
- cam_info(LOG_UI, "!!!!Preview Began");
-#ifndef CAMERA_MACHINE_I686
- if (ad->toolbar_setting_popup == NULL) {
- if ((camapp->shooting_mode == CAM_SELF_MODE)
- ||(camapp->recording_mode == CAM_RECORD_SELF)
- ||(camapp->recording_mode == CAM_RECORD_SELF_MMS) ) {
- DEBUG_TRACE("Not need to make setting menu");
- } else {
- ecore_idler_add(cam_app_launch_after_preview_began, ad);
- }
- }
-#endif
- }
- }
- cam_app_focus_guide_update(ad);
-
- if (ad->main_pipe) {
- char *buffer = strdup("STATE_CHANGED");
- ecore_pipe_write(ad->main_pipe, buffer, strlen(buffer) + 1);
- free(buffer);
}
return 1;