This commit is contained in:
Victor Shcherb 2014-06-01 15:02:17 +02:00
parent ece75eddbb
commit 52c87b323d

View file

@ -337,7 +337,7 @@ public class OsMoPlugin extends OsmandPlugin implements MonitoringInfoControlSer
String errors = ""; String errors = "";
for(JSONObject obj : params) { for(JSONObject obj : params) {
try { try {
File f = new File(fl, obj.getString("name")); File f = new File(fl, obj.getString("name")+".gpx");
long timestamp = obj.getLong("created") * 1000; long timestamp = obj.getLong("created") * 1000;
boolean visible = obj.has("visible"); boolean visible = obj.has("visible");
boolean changed = false; boolean changed = false;