From 0e05a992a5ce5097ef702d4a6e64b80b58fa7b1e Mon Sep 17 00:00:00 2001 From: prabathabey Date: Tue, 16 Jun 2015 14:45:44 +0530 Subject: [PATCH] Fixing Android and Windows MDM plugins to be compliant with changes introduced to device.mgt.core --- .../mobile/impl/android/AndroidDeviceManagementService.java | 6 ++++++ .../mobile/impl/windows/WindowsDeviceManagementService.java | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManagementService.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManagementService.java index 50aee44f7..b6eec1573 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManagementService.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManagementService.java @@ -196,6 +196,12 @@ public class AndroidDeviceManagementService implements DeviceManagementService { return false; } + @Override + public boolean setStatus(DeviceIdentifier deviceIdentifier, String currentUser, + EnrollmentStatus enrollmentStatus) throws DeviceManagementException { + return false; + } + @Override public boolean updateDeviceInfo(DeviceIdentifier deviceIdentifier, Device device) throws DeviceManagementException { boolean status; diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManagementService.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManagementService.java index f5b1e4960..334a5b649 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManagementService.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManagementService.java @@ -101,6 +101,12 @@ public class WindowsDeviceManagementService implements DeviceManagementService { return false; } + @Override + public boolean setStatus(DeviceIdentifier deviceIdentifier, String currentUser, + EnrollmentStatus enrollmentStatus) throws DeviceManagementException { + return false; + } + @Override public boolean updateDeviceInfo(DeviceIdentifier deviceIdentifier, Device device) throws DeviceManagementException { return true;