Fix unknown application type error when installing web apps

remotes/1720607818248768243/tmp_refs/heads/master
Ashvini Wegodapola 7 months ago
parent 62722718f2
commit 2169c6937a

@ -70,7 +70,7 @@ public class MDMAndroidOperationUtil {
webApplication.setName(application.getName()); webApplication.setName(application.getName());
// webApplication.setType(application.getType().toString()); // webApplication.setType(application.getType().toString());
// Hard-corded "type" to "webapp". Some agent versions accept only "webapp" as the type. // Hard-corded "type" to "webapp". Some agent versions accept only "webapp" as the type.
webApplication.setType("webapp"); // webApplication.setType("webapp");
webApplication.setProperties(application.getProperties()); webApplication.setProperties(application.getProperties());
operation.setPayLoad(webApplication.toJSON()); operation.setPayLoad(webApplication.toJSON());
break; break;

Loading…
Cancel
Save