From 0e3574ff69321cc360cdcc1c9aafc64dff17cff3 Mon Sep 17 00:00:00 2001 From: Junghyun Yeon Date: Fri, 5 Oct 2018 14:22:37 +0900 Subject: [PATCH] Enable "keep-rwdata" flag for all uninstallation requests Change-Id: I99f924632fff0badfa2cec75029ecb6237e09ddb Signed-off-by: Junghyun Yeon --- src/common/step/configuration/step_configure.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/step/configuration/step_configure.cc b/src/common/step/configuration/step_configure.cc index e3916f9..e51de23 100644 --- a/src/common/step/configuration/step_configure.cc +++ b/src/common/step/configuration/step_configure.cc @@ -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); -- 2.7.4