From 5100283083ee5947efcf6df4d43f987f252d399a Mon Sep 17 00:00:00 2001 From: Soyoung Kim Date: Tue, 29 Jan 2013 15:07:29 +0900 Subject: [PATCH] Fixed to send progress signal during RDS update. [Issue#] N_SE-23395 [Problem] icon of application is removed during RDS update. [Cause] couldn't send progress signal to package manager. [Solution] Fixed to send progress signal logic [SCMRequest] N/A Change-Id: I70cdafcdb1aafd6004ceacd2d993a2201ae41680 --- src/jobs/widget_install/job_widget_install.cpp | 1 + src/jobs/widget_install/task_recovery.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jobs/widget_install/job_widget_install.cpp b/src/jobs/widget_install/job_widget_install.cpp index 4ba7390..8be2b6c 100644 --- a/src/jobs/widget_install/job_widget_install.cpp +++ b/src/jobs/widget_install/job_widget_install.cpp @@ -167,6 +167,7 @@ JobWidgetInstall::JobWidgetInstall(std::string const &widgetPath, m_installerContext.m_quiet = m_jobStruct.m_quiet; ConfigureResult result = PrePareInstallation(widgetPath); + m_installerContext.job->SetProgressFlag(true); if (result == ConfigureResult::Ok) { LogInfo("Configure installation succeeded"); diff --git a/src/jobs/widget_install/task_recovery.cpp b/src/jobs/widget_install/task_recovery.cpp index bd844ae..7daba5e 100644 --- a/src/jobs/widget_install/task_recovery.cpp +++ b/src/jobs/widget_install/task_recovery.cpp @@ -76,7 +76,6 @@ void TaskRecovery::StepCreateCheckFile() ThrowMsg(Exceptions::InternalError, "Fail to create file for recovery."); } - m_context.job->SetProgressFlag(true); m_context.job->UpdateProgress( InstallerContext::INSTALL_CHECK_FILE, "Create information file for recovery"); -- 2.7.4