From ba3c463b3178e37dd367e5d5b950377548b402ad Mon Sep 17 00:00:00 2001 From: Lukasz Wartalowicz Date: Wed, 20 Jan 2016 14:22:56 +0100 Subject: [PATCH] Add StepRunParserPlugin to wgt-backend Requires: - https://review.tizen.org/gerrit/#/c/57334/ Add StepRunParserPlugin to wgt-backend Change-Id: I82179c534894f11de8e812e5d4c9fb9f4e8abfc1 --- src/hybrid/hybrid_installer.cc | 9 +++++++++ src/wgt/wgt_installer.cc | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/src/hybrid/hybrid_installer.cc b/src/hybrid/hybrid_installer.cc index 48e693d..12368b7 100644 --- a/src/hybrid/hybrid_installer.cc +++ b/src/hybrid/hybrid_installer.cc @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -90,6 +91,8 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr) AddStep(); AddStep(); AddStep(); + AddStep( + ci::PluginsLauncher::ActionType::Install); AddStep(); AddStep(); break; @@ -125,6 +128,8 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr) AddStep(); AddStep(); AddStep(); + AddStep( + ci::PluginsLauncher::ActionType::Upgrade); break; case ci::RequestType::Uninstall: AddStep(pkgmgr_); @@ -134,6 +139,8 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr) AddStep( ci::parse::StepParseManifest::ManifestLocation::INSTALLED, ci::parse::StepParseManifest::StoreLocation::NORMAL); + AddStep( + ci::PluginsLauncher::ActionType::Uninstall); AddStep(); AddStep(); AddStep(); @@ -182,6 +189,8 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr) AddStep(); AddStep(); AddStep(); + AddStep( + ci::PluginsLauncher::ActionType::Upgrade); break; case ci::RequestType::Recovery: AddStep(pkgmgr_); diff --git a/src/wgt/wgt_installer.cc b/src/wgt/wgt_installer.cc index 4eec68c..d3ca732 100644 --- a/src/wgt/wgt_installer.cc +++ b/src/wgt/wgt_installer.cc @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -89,6 +90,8 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr) AddStep(); AddStep(); AddStep(); + AddStep( + ci::PluginsLauncher::ActionType::Install); AddStep(); break; } @@ -117,6 +120,8 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr) AddStep(); AddStep(); AddStep(); + AddStep( + ci::PluginsLauncher::ActionType::Upgrade); AddStep(); break; } @@ -126,6 +131,8 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr) ci::parse::StepParseManifest::ManifestLocation::INSTALLED, ci::parse::StepParseManifest::StoreLocation::NORMAL); AddStep(); + AddStep( + ci::PluginsLauncher::ActionType::Uninstall); AddStep(); AddStep(); AddStep(); @@ -176,6 +183,8 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr) AddStep(); AddStep(); AddStep(); + AddStep( + ci::PluginsLauncher::ActionType::Upgrade); AddStep(); break; } -- 2.7.4