|
|
@ -52,10 +52,10 @@ public class AndroidPolicyMonitoringService implements PolicyMonitoringService {
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
log.debug("Checking policy compliance status of device '" + deviceIdentifier.getId() + "'");
|
|
|
|
log.debug("Checking policy compliance status of device '" + deviceIdentifier.getId() + "'");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ComplianceData complianceData = new ComplianceData();
|
|
|
|
if (compliancePayload == null || policy == null) {
|
|
|
|
if (compliancePayload == null || policy == null) {
|
|
|
|
return null;
|
|
|
|
return complianceData;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ComplianceData complianceData = new ComplianceData();
|
|
|
|
|
|
|
|
List<ComplianceFeature> complianceFeatures = new ArrayList<ComplianceFeature>();
|
|
|
|
List<ComplianceFeature> complianceFeatures = new ArrayList<ComplianceFeature>();
|
|
|
|
|
|
|
|
|
|
|
|
// Parsing json string to get compliance features.
|
|
|
|
// Parsing json string to get compliance features.
|
|
|
|