Adjust wgt-backend to plugin changes 31/59031/5 accepted/tizen/common/20160304.194922 accepted/tizen/common/20160307.153149 accepted/tizen/ivi/20160304.105558 accepted/tizen/mobile/20160304.105443 accepted/tizen/tv/20160304.105500 accepted/tizen/wearable/20160304.105532 submit/tizen/20160303.090142 submit/tizen/20160304.063745
authorTomasz Iwanek <t.iwanek@samsung.com>
Mon, 8 Feb 2016 09:40:47 +0000 (10:40 +0100)
committerTomasz Iwanek <t.iwanek@samsung.com>
Thu, 3 Mar 2016 09:00:26 +0000 (01:00 -0800)
Following changes should be submitted together:
 - https://review.tizen.org/gerrit/#/c/59029/
 - https://review.tizen.org/gerrit/#/c/59028/
 - https://review.tizen.org/gerrit/#/c/59030/
 - https://review.tizen.org/gerrit/#/c/59031/

Change-Id: Ic9811af492e2f15bc1fb24e5a69b0aa0530fc02f

src/hybrid/hybrid_installer.cc
src/wgt/wgt_installer.cc

index 8a7f0c948461c27c3b7f1e3abdc8fd214d675523..8e60fc2558ac08f5dba3f05cae829d01d035a79f 100644 (file)
@@ -94,7 +94,7 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr)
       AddStep<tpk::filesystem::StepCreateSymbolicLink>();
       AddStep<wgt::pkgmgr::StepGenerateXml>();
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
-          ci::PluginsLauncher::ActionType::Install);
+          ci::Plugin::ActionType::Install);
       AddStep<ci::pkgmgr::StepRegisterApplication>();
       AddStep<ci::security::StepRegisterSecurity>();
       AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
@@ -132,7 +132,7 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr)
       AddStep<wgt::pkgmgr::StepGenerateXml>();
       AddStep<ci::pkgmgr::StepUpdateApplication>();
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
-          ci::PluginsLauncher::ActionType::Upgrade);
+          ci::Plugin::ActionType::Upgrade);
       break;
     case ci::RequestType::Uninstall:
       AddStep<ci::configuration::StepConfigure>(pkgmgr_);
@@ -140,7 +140,7 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr)
           ci::parse::StepParseManifest::ManifestLocation::INSTALLED,
           ci::parse::StepParseManifest::StoreLocation::NORMAL);
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
-          ci::PluginsLauncher::ActionType::Uninstall);
+          ci::Plugin::ActionType::Uninstall);
       AddStep<ci::pkgmgr::StepKillApps>();
       AddStep<ci::filesystem::StepRemovePerUserStorageDirectories>();
       AddStep<ci::pkgmgr::StepUnregisterApplication>();
@@ -189,7 +189,7 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr)
       AddStep<wgt::pkgmgr::StepGenerateXml>();
       AddStep<ci::pkgmgr::StepUpdateApplication>();
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
-          ci::PluginsLauncher::ActionType::Upgrade);
+          ci::Plugin::ActionType::Upgrade);
       break;
     case ci::RequestType::Recovery:
       AddStep<ci::configuration::StepConfigure>(pkgmgr_);
index 1135facdeaf5983055faeb16e1e3571df81d007a..c1c4e7f33ba4a5bba78c22a8651a00fe9b87ada8 100644 (file)
@@ -93,7 +93,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       AddStep<wgt::pkgmgr::StepGenerateXml>();
       AddStep<ci::pkgmgr::StepRegisterApplication>();
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
-          ci::PluginsLauncher::ActionType::Install);
+          ci::Plugin::ActionType::Install);
       AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
       AddStep<ci::security::StepRegisterSecurity>();
       break;
@@ -124,7 +124,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       AddStep<ci::security::StepUpdateSecurity>();
       AddStep<wgt::pkgmgr::StepGenerateXml>();
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
-          ci::PluginsLauncher::ActionType::Upgrade);
+          ci::Plugin::ActionType::Upgrade);
       AddStep<ci::pkgmgr::StepUpdateApplication>();
       break;
     }
@@ -135,9 +135,8 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
           ci::parse::StepParseManifest::StoreLocation::NORMAL);
       AddStep<ci::pkgmgr::StepKillApps>();
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
-          ci::PluginsLauncher::ActionType::Uninstall);
+          ci::Plugin::ActionType::Uninstall);
       AddStep<ci::filesystem::StepRemovePerUserStorageDirectories>();
-
       AddStep<ci::pkgmgr::StepUnregisterApplication>();
       AddStep<ci::security::StepRollbackDeinstallationSecurity>();
       AddStep<ci::filesystem::StepRemoveFiles>();
@@ -189,7 +188,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       AddStep<ci::security::StepUpdateSecurity>();
       AddStep<wgt::pkgmgr::StepGenerateXml>();
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
-          ci::PluginsLauncher::ActionType::Upgrade);
+          ci::Plugin::ActionType::Upgrade);
       AddStep<ci::pkgmgr::StepUpdateApplication>();
       break;
     }