removal of not needed method call. 07/38207/5
authorPawel Sikorski <p.sikorski@samsung.com>
Tue, 14 Apr 2015 10:00:25 +0000 (12:00 +0200)
committerPawel Sikorski <p.sikorski@samsung.com>
Fri, 17 Apr 2015 07:26:25 +0000 (00:26 -0700)
PkgmgrSingal::SendProgress method will just return false, if
state != Statue::Started.
This condition is always true in the beginning of Run() method.
Hence, this method will not perform anything.

Change-Id: I2ff46b156c931e9259fb434179a2a687a7ba93fa

src/common/app_installer.cc

index 56d0375..dc6a84a 100644 (file)
@@ -53,9 +53,6 @@ int AppInstaller::Run() {
   Step::Status process_status = Step::Status::OK;
   int ret = 0;
   unsigned total_steps = steps_.size();
-  pi_->SendProgress(0, context_->pkg_type.get(),
-      context_->pkgid.get());
-
   unsigned current_step = 1;
 
   for (; it != itEnd; ++it, ++current_step) {