From ba568480b5d0728fd199930c1ba3f3ffc4432c17 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 25 Feb 2016 00:18:53 +0100 Subject: [PATCH] test Issue 2275 --- .../src/net/osmand/plus/helpers/GpxImportHelper.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java b/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java index 8384b4b3b6..6dc0561ed8 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java @@ -67,11 +67,13 @@ public class GpxImportHelper { if (fileName != null && fileName.endsWith(KML_SUFFIX)) { handleKmlImport(intentUri, fileName, saveFile); - } else if (fileName != null && (fileName.contains("favourite")|| - fileName.contains("favorite"))) { - handleFavouritesImport(intentUri, fileName, saveFile); +//Issue 2275 +// } else if (fileName != null && (fileName.contains("favourite")|| +// fileName.contains("favorite"))) { +// handleFavouritesImport(intentUri, fileName, saveFile); } else { - handleGpxImport(intentUri, fileName, saveFile); +// handleGpxImport(intentUri, fileName, saveFile); + handleFavouritesImport(intentUri, fileName, saveFile); } }