Adjust tpk-backend to plugin changes 30/59030/5 accepted/tizen/common/20160304.194920 accepted/tizen/common/20160307.153142 accepted/tizen/ivi/20160304.105555 accepted/tizen/mobile/20160304.105438 accepted/tizen/tv/20160304.105457 accepted/tizen/wearable/20160304.105529 submit/tizen/20160303.090142 submit/tizen/20160304.063745
authorTomasz Iwanek <t.iwanek@samsung.com>
Mon, 8 Feb 2016 09:32:27 +0000 (10:32 +0100)
committerTomasz Iwanek <t.iwanek@samsung.com>
Thu, 3 Mar 2016 09:00:18 +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: Ibc7d640daaf2a97ecff50a224a4e9ecb5116de98

src/tpk/tpk_installer.cc

index 5667699..6e593e8 100644 (file)
@@ -129,7 +129,7 @@ void TpkInstaller::InstallSteps() {
   AddStep<tpk::pkgmgr::StepManifestAdjustment>();
   AddStep<ci::pkgmgr::StepRegisterApplication>();
   AddStep<ci::pkgmgr::StepRunParserPlugin>(
-      ci::PluginsLauncher::ActionType::Install);
+      ci::Plugin::ActionType::Install);
   AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
 }
 
@@ -161,8 +161,7 @@ void TpkInstaller::UpdateSteps() {
   AddStep<tpk::pkgmgr::StepConvertXml>();
   AddStep<tpk::pkgmgr::StepManifestAdjustment>();
   AddStep<ci::pkgmgr::StepUpdateApplication>();
-  AddStep<ci::pkgmgr::StepRunParserPlugin>(
-      ci::PluginsLauncher::ActionType::Upgrade);
+  AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Upgrade);
   /* TODO(jungh.yeon): this temporary step will be removed
   * when secondary parsing procedure has removed*/
   AddStep<ci::pkgmgr::StepUpdateTep>();
@@ -174,7 +173,7 @@ void TpkInstaller::UninstallSteps() {
       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>();
@@ -215,8 +214,7 @@ void TpkInstaller::DeltaSteps() {
   AddStep<ci::security::StepUpdateSecurity>();
   AddStep<tpk::pkgmgr::StepConvertXml>();
   AddStep<ci::pkgmgr::StepUpdateApplication>();
-  AddStep<ci::pkgmgr::StepRunParserPlugin>(
-      ci::PluginsLauncher::ActionType::Upgrade);
+  AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Upgrade);
 }
 
 void TpkInstaller::RecoverySteps() {
@@ -249,8 +247,7 @@ void TpkInstaller::ManifestDirectInstallSteps() {
   AddStep<ci::security::StepRollbackInstallationSecurity>();
   AddStep<ci::security::StepRegisterSecurity>();
   AddStep<ci::pkgmgr::StepRegisterApplication>();
-  AddStep<ci::pkgmgr::StepRunParserPlugin>(
-      ci::PluginsLauncher::ActionType::Install);
+  AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Install);
 }
 
 void TpkInstaller::ManifestDirectUpdateSteps() {
@@ -268,8 +265,7 @@ void TpkInstaller::ManifestDirectUpdateSteps() {
   AddStep<ci::security::StepRollbackInstallationSecurity>();
   AddStep<ci::security::StepRegisterSecurity>();
   AddStep<ci::pkgmgr::StepUpdateApplication>();
-  AddStep<ci::pkgmgr::StepRunParserPlugin>(
-      ci::PluginsLauncher::ActionType::Upgrade);
+  AddStep<ci::pkgmgr::StepRunParserPlugin>(ci::Plugin::ActionType::Upgrade);
 }
 
 void TpkInstaller::ClearSteps() {