mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Modify setting app type
This commit is contained in:
parent
c0e301845e
commit
f372ba2018
@ -50,9 +50,7 @@ public class MDMAndroidOperationUtil {
|
|||||||
case ENTERPRISE:
|
case ENTERPRISE:
|
||||||
EnterpriseApplication enterpriseApplication = new EnterpriseApplication();
|
EnterpriseApplication enterpriseApplication = new EnterpriseApplication();
|
||||||
enterpriseApplication.setType(application.getType().toString());
|
enterpriseApplication.setType(application.getType().toString());
|
||||||
//TODO: replace needs to be removed after doing the proper config update in application-mgt.xml
|
enterpriseApplication.setUrl(application.getLocation());
|
||||||
enterpriseApplication.setUrl(application.getLocation().replace("https://localhost:9443",
|
|
||||||
"http://192.168.8.6:9763"));
|
|
||||||
operation.setPayLoad(enterpriseApplication.toJSON());
|
operation.setPayLoad(enterpriseApplication.toJSON());
|
||||||
break;
|
break;
|
||||||
case PUBLIC:
|
case PUBLIC:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user