From d7b4b834247f524b0791fd747ccb8cca6389e545 Mon Sep 17 00:00:00 2001 From: prabathabey Date: Tue, 31 May 2016 18:02:04 +0530 Subject: [PATCH] Fixing path of license resource --- .../services/impl/DeviceTypeConfigurationServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/impl/DeviceTypeConfigurationServiceImpl.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/impl/DeviceTypeConfigurationServiceImpl.java index e1a4f7fcd..e52f00764 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/impl/DeviceTypeConfigurationServiceImpl.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/impl/DeviceTypeConfigurationServiceImpl.java @@ -121,12 +121,11 @@ public class DeviceTypeConfigurationServiceImpl implements DeviceTypeConfigurati @GET - @Path("license") + @Path("/license") @Produces(MediaType.TEXT_PLAIN) public Response getLicense( @HeaderParam("If-Modified-Since") String ifModifiedSince) { License license; - try { license = AndroidAPIUtils.getDeviceManagementService().getLicense(