X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fjobs%2Fwidget_install%2Ftask_certify.cpp;h=128f022a865077d2700aa711ba0d0f65a208343f;hb=7318f9524c8f477b402ad3951496bfc2e27095b3;hp=4705fcbf38e1d65ddb50de0f05c1d4b022639f41;hpb=69ba08a84d02efabc8abfd25bfe2ec96e20240fd;p=framework%2Fweb%2Fwrt-installer.git diff --git a/src/jobs/widget_install/task_certify.cpp b/src/jobs/widget_install/task_certify.cpp index 4705fcb..128f022 100644 --- a/src/jobs/widget_install/task_certify.cpp +++ b/src/jobs/widget_install/task_certify.cpp @@ -50,10 +50,6 @@ using namespace ValidationCore; using namespace WrtDB; namespace { -const std::string LABEL_NEW_LINE = "
"; -const std::string LABEL_NEW_LINE_2 = "

"; -const std::string UNTRUSTED_WIDGET = "It is an Untrusted Widget"; -const char *QUESTION = "Do you wanto to install?"; WidgetCertificateData toWidgetCertificateData(const SignatureData &data, bool root) @@ -258,7 +254,9 @@ void TaskCertify::stepSignature() result = validator.check(data, widgetPath); if (m_contextData.widgetConfig.packagingType - == WrtDB::PKG_TYPE_DIRECTORY_WEB_APP) + == WrtDB::PKG_TYPE_DIRECTORY_WEB_APP || + m_contextData.job->getInstallerStruct().m_installMode + == InstallMode::INSTALL_MODE_PRELOAD) { // In directory installation mode, the validation is skipped.