From 2169c6937a672af88cd0104bc3ab3758f1423a11 Mon Sep 17 00:00:00 2001 From: ashvini Date: Thu, 9 May 2024 07:43:39 +0530 Subject: [PATCH] Fix unknown application type error when installing web apps --- .../mgt/core/device/mgt/core/util/MDMAndroidOperationUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/io.entgra.device.mgt.core.device.mgt.core/src/main/java/io/entgra/device/mgt/core/device/mgt/core/util/MDMAndroidOperationUtil.java b/components/device-mgt/io.entgra.device.mgt.core.device.mgt.core/src/main/java/io/entgra/device/mgt/core/device/mgt/core/util/MDMAndroidOperationUtil.java index 61c34fcd4d4..42889367b4c 100644 --- a/components/device-mgt/io.entgra.device.mgt.core.device.mgt.core/src/main/java/io/entgra/device/mgt/core/device/mgt/core/util/MDMAndroidOperationUtil.java +++ b/components/device-mgt/io.entgra.device.mgt.core.device.mgt.core/src/main/java/io/entgra/device/mgt/core/device/mgt/core/util/MDMAndroidOperationUtil.java @@ -70,7 +70,7 @@ public class MDMAndroidOperationUtil { webApplication.setName(application.getName()); // webApplication.setType(application.getType().toString()); // Hard-corded "type" to "webapp". Some agent versions accept only "webapp" as the type. - webApplication.setType("webapp"); +// webApplication.setType("webapp"); webApplication.setProperties(application.getProperties()); operation.setPayLoad(webApplication.toJSON()); break;