Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a904614d31
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ public class OsMoPlugin extends OsmandPlugin implements MonitoringInfoControlSer
|
||||||
File ps = new File(fl, name + ".gpx");
|
File ps = new File(fl, name + ".gpx");
|
||||||
String errors = "";
|
String errors = "";
|
||||||
boolean changed = false;
|
boolean changed = false;
|
||||||
if (!ps.exists() || ps.lastModified() != timestamp) {
|
if (!ps.exists() || (ps.lastModified() / 1000) != (timestamp / 1000)) {
|
||||||
changed = true;
|
changed = true;
|
||||||
GPXFile g = new GPXFile();
|
GPXFile g = new GPXFile();
|
||||||
g.points.addAll(Arrays.asList(params));
|
g.points.addAll(Arrays.asList(params));
|
||||||
|
|
Loading…
Reference in a new issue