Change action type when enable wgt pkgs 53/200053/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 18 Feb 2019 11:19:24 +0000 (20:19 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 18 Feb 2019 11:27:26 +0000 (20:27 +0900)
- When wgt pkg being enabled, plugin should be executed as "Install".

Change-Id: If47320cbe7b022c68c7658fa91369e8a5982b9bb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/hybrid/hybrid_installer.cc
src/wgt/wgt_installer.cc

index 95adccdd594e6d176cf2ab47c3d5785e17968dcf..4ea41dacb1d3481f712703b8681e4523f4388d5d 100644 (file)
@@ -732,7 +732,7 @@ void HybridInstaller::EnablePkgSteps() {
   AddStep<ci::pkgmgr::StepUpdatePkgDisableInfo>(
       ci::pkgmgr::StepUpdatePkgDisableInfo::ActionType::Enable);
   AddStep<ci::pkgmgr::StepRunParserPlugin>(
-      ci::Plugin::ActionType::Uninstall);
+      ci::Plugin::ActionType::Install);
 }
 
 void HybridInstaller::DisablePkgSteps() {
index 1c20ef8d25cba42c40099df61c84aa78d2c70c40..ed09adf8687850ba3dbae092b9ff94421e494683 100644 (file)
@@ -714,7 +714,7 @@ void WgtInstaller::EnablePkgSteps() {
   AddStep<ci::pkgmgr::StepUpdatePkgDisableInfo>(
       ci::pkgmgr::StepUpdatePkgDisableInfo::ActionType::Enable);
   AddStep<ci::pkgmgr::StepRunParserPlugin>(
-      ci::Plugin::ActionType::Uninstall);
+      ci::Plugin::ActionType::Install);
 }
 
 void WgtInstaller::DisablePkgSteps() {