Skip to content

Commit

Permalink
render local report page outside working hours
Browse files Browse the repository at this point in the history
  • Loading branch information
kaweesi committed Dec 16, 2016
1 parent 174f07b commit 13bf50c
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static JSONObject generateRwandaSPHEMTDHISDataValueSets() {
JSONObject jsonObj = new JSONObject();
JSONObject jsonObj2 = new JSONObject();
JSONObject finalJSON = new JSONObject();
JSONArray jsonToBePushed;
JSONArray jsonToBePushed = new JSONArray();
JSONArray jsonDataValueSets = new JSONArray();
SystemMonitorService systemMonitorService = Context.getService(SystemMonitorService.class);
OSAndHardwareIndicators osshi = new OSAndHardwareIndicators();
Expand Down Expand Up @@ -383,11 +383,12 @@ public static JSONObject generateRwandaSPHEMTDHISDataValueSets() {
jsonToBePushed.put(installedModulesDataElementJSON2);
jsonDataValueSets.put(systemRealLocationDataElementJSON);
jsonDataValueSets.put(installedModulesDataElementJSON);
jsonObj.put("dataValues", addMetricDetailsLikeNamesToAllDataJSON(jsonDataValueSets));
jsonObj2.put("dataValues", jsonToBePushed);
finalJSON.put("allData", jsonObj);
finalJSON.put("toBePushed", jsonObj2);
}
jsonObj.put("dataValues", addMetricDetailsLikeNamesToAllDataJSON(jsonDataValueSets));
jsonObj2.put("dataValues", jsonToBePushed);
finalJSON.put("allData", jsonObj);
finalJSON.put("toBePushed", jsonObj2);

return finalJSON;
}

Expand Down

0 comments on commit 13bf50c

Please sign in to comment.