Fix RecoverUninstall type plugin to be called 59/321659/2
authorIlho Kim <ilho159.kim@samsung.com>
Thu, 27 Feb 2025 04:15:09 +0000 (13:15 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Wed, 26 Mar 2025 07:24:42 +0000 (07:24 +0000)
Change-Id: I8f375ea5067223663ffcd50eec183a0d13b83097
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
(cherry picked from commit 6167e888843b8c79bf0d0dfad83d5f17a1233b90)

src/common/step/pkgmgr/step_recover_parser_plugins.cc

index 4c2b93024b1fad70809007c4ee2eac097efd19ee..d1b917e59cf4bb16c5a4fbb6717fbb4e8bd9c937 100644 (file)
@@ -29,6 +29,8 @@ ci::Plugin::ActionType GetActionType(ci::InstallerContext* context) {
     case ci::RequestType::ReadonlyUpdateInstall:
     case ci::RequestType::ReadonlyUpdateUninstall:
       return ci::Plugin::ActionType::RecoverUpgrade;
+    case ci::RequestType::Uninstall:
+      return ci::Plugin::ActionType::RecoverUninstall;
     default:
       LOG(ERROR) << "Invalid request type : " << static_cast<int>(type);
       return ci::Plugin::ActionType::Unknown;