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 bfe7a13e2a..0331630f34 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 @@ -47,6 +47,7 @@ import java.util.List; public class SubscriptionManagerImpl implements SubscriptionManager { private static final Log log = LogFactory.getLog(SubscriptionManagerImpl.class); + private static final String INSTALL_APPLICATION = "INSTALL_APPLICATION"; @Override public List installApplicationForDevices(String applicationUUID, String versionName, @@ -122,7 +123,7 @@ public class SubscriptionManagerImpl implements SubscriptionManager { // put app install operation to the device ProfileOperation operation = new ProfileOperation(); - operation.setCode("INSTALL_APPLICATION"); + operation.setCode(INSTALL_APPLICATION); operation.setType(Operation.Type.PROFILE); operation.setPayLoad("{'type':'enterprise', 'url':'http://10.100.5.76:8000/app-debug.apk', 'app':'" + applicationUUID + "'}");