Set installer index at InstallerRunner 60/259860/5
authorSangyoon Jang <jeremy.jang@samsung.com>
Wed, 16 Jun 2021 05:57:49 +0000 (14:57 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Thu, 24 Jun 2021 10:34:14 +0000 (10:34 +0000)
InstallerFactory doesn't need to set index itself.

Change-Id: Ibe46849ec871ee356ea6e14320cacd00eee14b95
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/common/installer_runner.cc

index c98432f..ea4c03a 100644 (file)
@@ -121,6 +121,7 @@ void InstallerRunner::Init() {
                  << pkgmgr_->GetRequestInfo(i);
       continue;
     }
+    installer->SetIndex(i);
     if (pkgmgr_->GetRequestType() != RequestType::Recovery &&
         is_global_request) {
       std::string recovery_filepath =