TryCatch(r == E_SUCCESS, ShowError(r, METHOD_FILE_LINENO),"[%s] _pEditArea->SetEnabled", GetErrorMessage(r));
__pTimer = new (std::nothrow) Timer;
- TryCatch(__pEditArea != null, r = E_OUT_OF_MEMORY," __pTimer new failed");
+ TryCatch(__pTimer != null, r = E_OUT_OF_MEMORY," __pTimer new failed");
r = __pTimer->Construct(*this);
TryCatch(r == E_SUCCESS, ShowError(r, METHOD_FILE_LINENO),"[%s] __pTimer->Construct", GetErrorMessage(r));
}
ShowFooterItem(2, true);
+ Form::OnDraw(); //To show accessibility ring
+
return E_SUCCESS;
CATCH:
// Free resource is done when the error pop up Ok is pressed
}
}
break;
+ case CAMERA_ERROR_DEVICE_FAILED:
+ {
+ //show popup and go back to menu
+ ShowMessagePopup("Video Recorder Error occurred - Device failed", ID_BUTTON_ERROR_POPUP_OK);
+ }
+ break;
+
case CAMERA_ERROR_DEVICE_INTERRUPTED:
{
ResetTimeVariables();
ShowErrorResult(res, METHOD_FILE_LINENO);
return;
}
+ __pVideoRecorder->Cancel();
__pVideoRecorder->Close();
__pTimer->Cancel();