Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-02-25 00:19:28 +01:00
commit 93e41ed381

View file

@ -67,11 +67,13 @@ public class GpxImportHelper {
if (fileName != null && fileName.endsWith(KML_SUFFIX)) { if (fileName != null && fileName.endsWith(KML_SUFFIX)) {
handleKmlImport(intentUri, fileName, saveFile); handleKmlImport(intentUri, fileName, saveFile);
} else if (fileName != null && (fileName.contains("favourite")|| //Issue 2275
fileName.contains("favorite"))) { // } else if (fileName != null && (fileName.contains("favourite")||
handleFavouritesImport(intentUri, fileName, saveFile); // fileName.contains("favorite"))) {
// handleFavouritesImport(intentUri, fileName, saveFile);
} else { } else {
handleGpxImport(intentUri, fileName, saveFile); // handleGpxImport(intentUri, fileName, saveFile);
handleFavouritesImport(intentUri, fileName, saveFile);
} }
} }