Remove setting installer index 62/259862/2
authorSangyoon Jang <jeremy.jang@samsung.com>
Wed, 16 Jun 2021 06:10:54 +0000 (15:10 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Wed, 30 Jun 2021 05:37:36 +0000 (05:37 +0000)
InstallerFactory doesn't need to set index.

Requires:
 - https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/259860

Change-Id: I41e66efef3b45362ecdaa1120f42ef3ae0a2eaac
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/hybrid/hybrid_installer_factory.cc
src/wgt/wgt_installer_factory.cc

index 1716765..afc90cc 100644 (file)
@@ -30,7 +30,6 @@ std::unique_ptr<ci::AppInstaller> HybridInstallerFactory::CreateInstaller(
 
   pkgmgr->AddAppQueryInterface(idx, wgt_aqi);
   installer.reset(new hybrid::HybridInstaller(pkgmgr));
-  installer->SetIndex(idx);
 
   return installer;
 }
index f260647..4beb04f 100644 (file)
@@ -29,7 +29,6 @@ std::unique_ptr<ci::AppInstaller> WgtInstallerFactory::CreateInstaller(
 
   pkgmgr->AddAppQueryInterface(idx, wgt_aqi);
   installer.reset(new wgt::WgtInstaller(pkgmgr));
-  installer->SetIndex(idx);
 
   return installer;
 }