Fixed to send progress signal during RDS update.
authorSoyoung Kim <sy037.kim@samsung.com>
Tue, 29 Jan 2013 06:07:29 +0000 (15:07 +0900)
committerGerrit Code Review <gerrit2@kim11>
Tue, 29 Jan 2013 06:59:21 +0000 (15:59 +0900)
[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
src/jobs/widget_install/task_recovery.cpp

index 4ba7390..8be2b6c 100644 (file)
@@ -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");
index bd844ae..7daba5e 100644 (file)
@@ -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");