Revert "Force uninstall for external storage packages" 88/86188/1 accepted/tizen/common/20160831.161850 accepted/tizen/ivi/20160831.080426 accepted/tizen/mobile/20160831.080258 accepted/tizen/tv/20160831.080337 accepted/tizen/wearable/20160831.080406 submit/tizen/20160831.045954
authorJongHeon Choi <j-h.choi@samsung.com>
Wed, 31 Aug 2016 04:44:22 +0000 (13:44 +0900)
committerJongHeon Choi <j-h.choi@samsung.com>
Wed, 31 Aug 2016 04:44:50 +0000 (13:44 +0900)
This reverts commit 0019e1abf93a2d5b1ed056c63a299f3e34db45de.

Change-Id: Ieafc64859bb0648aed01a21d71836d66ac5ad1a6

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

index ea2cc76..00bfcb3 100644 (file)
@@ -14,7 +14,6 @@
 #include <common/step/configuration/step_parse_manifest.h>
 #include <common/step/configuration/step_parse_preload.h>
 #include <common/step/filesystem/step_acquire_external_storage.h>
-#include <common/step/filesystem/step_optional_acquire_external_storage.h>
 #include <common/step/filesystem/step_clear_data.h>
 #include <common/step/filesystem/step_change_owner.h>
 #include <common/step/filesystem/step_copy.h>
@@ -195,7 +194,7 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr)
           ci::Plugin::ActionType::Uninstall);
       AddStep<ci::pkgmgr::StepKillApps>();
       AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
-      AddStep<ci::filesystem::StepOptionalAcquireExternalStorage>();
+      AddStep<ci::filesystem::StepAcquireExternalStorage>(true);
       AddStep<ci::filesystem::StepRemovePerUserStorageDirectories>();
       AddStep<ci::pkgmgr::StepUnregisterApplication>();
       AddStep<ci::security::StepRollbackDeinstallationSecurity>();
index b728742..ea96cf2 100755 (executable)
@@ -16,7 +16,6 @@
 #include <common/step/configuration/step_parse_manifest.h>
 #include <common/step/configuration/step_parse_preload.h>
 #include <common/step/filesystem/step_acquire_external_storage.h>
-#include <common/step/filesystem/step_optional_acquire_external_storage.h>
 #include <common/step/filesystem/step_change_owner.h>
 #include <common/step/filesystem/step_clear_data.h>
 #include <common/step/filesystem/step_copy.h>
@@ -193,7 +192,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
           ci::configuration::StepParseManifest::StoreLocation::NORMAL);
       AddStep<ci::pkgmgr::StepKillApps>();
       AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
-      AddStep<ci::filesystem::StepOptionalAcquireExternalStorage>();
+      AddStep<ci::filesystem::StepAcquireExternalStorage>(true);
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
           ci::Plugin::ActionType::Uninstall);
       AddStep<ci::filesystem::StepRemovePerUserStorageDirectories>();