Fix gpx casing
This commit is contained in:
parent
87582724bc
commit
12beb1ac14
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ public class MapActivityLayers {
|
|||
File[] files = dir.listFiles();
|
||||
if (files != null) {
|
||||
for (File f : files) {
|
||||
if (f.getName().endsWith(".gpx")) { //$NON-NLS-1$
|
||||
if (f.getName().toLowerCase().endsWith(".gpx")) { //$NON-NLS-1$
|
||||
list.add(parent + f.getName());
|
||||
} else if (f.isDirectory()) {
|
||||
readGpxDirectory(f, list, parent + f.getName() + "/");
|
||||
|
|
Loading…
Reference in a new issue