mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Refactored android policy compliance
This commit is contained in:
parent
ade7895901
commit
571b4deb4e
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user