Enable "keep-rwdata" flag for all uninstallation requests 46/190746/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 5 Oct 2018 05:22:37 +0000 (14:22 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 5 Oct 2018 05:22:37 +0000 (14:22 +0900)
Change-Id: I99f924632fff0badfa2cec75029ecb6237e09ddb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/step/configuration/step_configure.cc

index e3916f9..e51de23 100644 (file)
@@ -57,8 +57,7 @@ Step::Status StepConfigure::process() {
     case RequestType::PartialUninstall:
       SetupIsPartialRW();
     case RequestType::Uninstall:
-      if (context_->is_preload_rw_package.get())
-        SetupIsKeepRWData();
+      SetupIsKeepRWData();
       SetupIsForceRemoval();
       context_->pkgid.set(pkgmgr_->GetRequestInfo());
       context_->file_path.set(kStrEmpty);