+ /* check my session type : allow only media & call series here */
+ if ((hcamcorder->session_type != MM_SESSION_TYPE_MEDIA) &&
+ (hcamcorder->session_type != MM_SESSION_TYPE_MEDIA_RECORD) &&
+ (hcamcorder->session_type != MM_SESSION_TYPE_CALL) &&
+ (hcamcorder->session_type != MM_SESSION_TYPE_VIDEOCALL) &&
+ (hcamcorder->session_type != MM_SESSION_TYPE_VOIP)) {
+ _mmcam_dbg_err("Blocked by session policy, my session_type[%s]", hcamcorder->session_type);
+ hcamcorder->error_code = MM_ERROR_POLICY_BLOCKED;
+ return FALSE;
+ }
+