mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge pull request #10 from milanperera/master
Refactored policy compliance
This commit is contained in:
commit
248f2f8a80
@ -52,10 +52,10 @@ public class AndroidPolicyMonitoringService implements PolicyMonitoringService {
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Checking policy compliance status of device '" + deviceIdentifier.getId() + "'");
|
||||
}
|
||||
if (compliancePayload == null || policy == null) {
|
||||
return null;
|
||||
}
|
||||
ComplianceData complianceData = new ComplianceData();
|
||||
if (compliancePayload == null || policy == null) {
|
||||
return complianceData;
|
||||
}
|
||||
List<ComplianceFeature> complianceFeatures = new ArrayList<ComplianceFeature>();
|
||||
|
||||
// Parsing json string to get compliance features.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user