From d7fbddf78d86154bfe5ba000912c58b7956bcb52 Mon Sep 17 00:00:00 2001 From: lasanthaDLPDS Date: Wed, 6 Nov 2019 00:15:54 +0530 Subject: [PATCH] Fix app uninstall-operation-mapping table updating issue --- .../application/mgt/core/impl/SubscriptionManagerImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/SubscriptionManagerImpl.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/SubscriptionManagerImpl.java index c9f4d0e4a1..6b68458a17 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/SubscriptionManagerImpl.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.core/src/main/java/org/wso2/carbon/device/application/mgt/core/impl/SubscriptionManagerImpl.java @@ -759,6 +759,8 @@ public class SubscriptionManagerImpl implements SubscriptionManager { } else if (SubAction.UNINSTALL.toString().equalsIgnoreCase(action)) { subUpdatingDeviceIds.addAll(getOperationAddedDeviceIds(activity, subscribingDeviceIdHolder.getAppInstalledDevices())); + subUpdatingDeviceIds.addAll(getOperationAddedDeviceIds(activity, + subscribingDeviceIdHolder.getAppReUnInstallableDevices())); } subscriptionDAO.addDeviceSubscription(username, subInsertingDeviceIds, subType,