Check removable when uninstall package 11/61911/1
authorSangyoon Jang <s89.jang@samsung.com>
Fri, 11 Mar 2016 06:25:14 +0000 (15:25 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Fri, 11 Mar 2016 06:25:14 +0000 (15:25 +0900)
Requires:
 - https://review.tizen.org/gerrit/61899

Change-Id: I803c8697ba8c465c4eba5abc3d507516622b3230
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
src/tpk/tpk_installer.cc

index aa7e14d3f1119741df84db093579a7e3864f1084..27c3e67ad1588f1d670740005cdbe2b95e4321e2 100644 (file)
@@ -15,6 +15,7 @@
 #include <common/step/step_copy_storage_directories.h>
 #include <common/step/step_check_old_certificate.h>
 #include <common/step/step_check_blacklist.h>
+#include <common/step/step_check_removable.h>
 #include <common/step/step_delta_patch.h>
 #include <common/step/step_fail.h>
 #include <common/step/step_kill_apps.h>
@@ -169,6 +170,7 @@ void TpkInstaller::UpdateSteps() {
 
 void TpkInstaller::UninstallSteps() {
   AddStep<ci::configuration::StepConfigure>(pkgmgr_);
+  AddStep<ci::pkgmgr::StepCheckRemovable>();
   AddStep<ci::parse::StepParseManifest>(
       ci::parse::StepParseManifest::ManifestLocation::INSTALLED,
       ci::parse::StepParseManifest::StoreLocation::NORMAL);