|
|
@ -73,13 +73,13 @@ public class MobileDeviceManagementUtil {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private static String getPropertyValue(Device device, String property) {
|
|
|
|
private static String getPropertyValue(Device device, String property) {
|
|
|
|
if (device != null && device.getProperties() != null) {
|
|
|
|
if (device != null && device.getProperties() != null) {
|
|
|
|
for (Device.Property prop : device.getProperties()) {
|
|
|
|
for (Device.Property prop : device.getProperties()) {
|
|
|
|
if (property.equals(prop.getName())) {
|
|
|
|
if (property.equals(prop.getName())) {
|
|
|
|
return prop.getValue();
|
|
|
|
return prop.getValue();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|