From: Sangyoon Jang Date: Wed, 16 Jun 2021 05:57:49 +0000 (+0900) Subject: Set installer index at InstallerRunner X-Git-Tag: accepted/tizen/unified/20210712.131308~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F259860%2F5;p=platform%2Fcore%2Fappfw%2Fapp-installers.git Set installer index at InstallerRunner InstallerFactory doesn't need to set index itself. Change-Id: Ibe46849ec871ee356ea6e14320cacd00eee14b95 Signed-off-by: Sangyoon Jang --- diff --git a/src/common/installer_runner.cc b/src/common/installer_runner.cc index c98432f..ea4c03a 100644 --- a/src/common/installer_runner.cc +++ b/src/common/installer_runner.cc @@ -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 =