mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix web-clip install issue
This commit is contained in:
parent
eee60cec89
commit
ebe9842d9a
@ -68,7 +68,9 @@ public class MDMAndroidOperationUtil {
|
||||
WebApplication webApplication = new WebApplication();
|
||||
webApplication.setUrl(application.getLocation());
|
||||
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.
|
||||
webApplication.setType("webapp");
|
||||
webApplication.setProperties(application.getProperties());
|
||||
operation.setPayLoad(webApplication.toJSON());
|
||||
break;
|
||||
@ -111,7 +113,9 @@ public class MDMAndroidOperationUtil {
|
||||
WebApplication webApplication = new WebApplication();
|
||||
webApplication.setUrl(application.getLocation());
|
||||
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.
|
||||
webApplication.setType("webapp");
|
||||
operation.setPayLoad(webApplication.toJSON());
|
||||
break;
|
||||
default:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user