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