Add device mgt service methods

kernel-4.4.x
tcdlpds@gmail.com 4 years ago
parent 9f5a58ea34
commit 977dbfe645

@ -797,4 +797,7 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
throws OperationManagementException {
return 0;
}
@Override
public License getLicenseConfig(String s) throws DeviceManagementException { return null; }
}

@ -32,6 +32,7 @@ import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration
import org.wso2.carbon.device.mgt.common.exceptions.DeviceManagementException;
import org.wso2.carbon.device.mgt.common.general.GeneralConfig;
import org.wso2.carbon.device.mgt.common.invitation.mgt.DeviceEnrollmentInvitationDetails;
import org.wso2.carbon.device.mgt.common.license.mgt.License;
import org.wso2.carbon.device.mgt.common.policy.mgt.PolicyMonitoringManager;
import org.wso2.carbon.device.mgt.common.pull.notification.PullNotificationSubscriber;
import org.wso2.carbon.device.mgt.common.push.notification.PushNotificationConfig;
@ -153,6 +154,9 @@ public class AndroidDeviceManagementService implements DeviceManagementService {
@Override public DeviceEnrollmentInvitationDetails getDeviceEnrollmentInvitationDetails() { return null; }
@Override
public License getLicenseConfig() { return null; }
private String getConfigProperty(List<ConfigurationEntry> configs, String propertyName) {
for (ConfigurationEntry entry : configs) {
if (propertyName.equals(entry.getName())) {

Loading…
Cancel
Save