From a2bcc1c03fd61880cc4a956ca671f74a5c750342 Mon Sep 17 00:00:00 2001 From: lasanthaDLPDS Date: Wed, 9 Oct 2019 17:49:26 +0530 Subject: [PATCH] Improve APPM app uninstall operation payload --- .../application/mgt/core/impl/SubscriptionManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c8e22bc69c..484b9e4add 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 @@ -668,7 +668,7 @@ public class SubscriptionManagerImpl implements SubscriptionManager { operation.setType(Operation.Type.PROFILE); CustomApplication customApplication = new CustomApplication(); customApplication.setType(application.getType()); - //todo get application package name and set + customApplication.setAppIdentifier(application.getPackageName()); operation.setPayLoad(customApplication.toJSON()); return operation; } else {