Refactored android policy compliance

revert-dabc3590
mharindu 9 years ago
parent ade7895901
commit 571b4deb4e

@ -69,8 +69,8 @@ public class AndroidPolicyMonitoringService implements PolicyMonitoringService {
Gson gson = new Gson();
ComplianceFeature complianceFeature;
for (int i = 0; i < jsonArray.size(); i++) {
complianceFeature = gson.fromJson(jsonArray.get(i), ComplianceFeature.class);
for (JsonElement element : jsonArray) {
complianceFeature = gson.fromJson(element, ComplianceFeature.class);
complianceFeatures.add(complianceFeature);
}

Loading…
Cancel
Save