From d031108590965f253c00f2d87675aaa39baf0d5c Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 13 Jun 2015 15:23:21 +0200 Subject: [PATCH] fix call --- OsmAnd/src/net/osmand/plus/views/POIMapLayer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java index 4cc668c62d..76f2af0f36 100644 --- a/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java @@ -392,11 +392,12 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon } if(Algorithms.isEmpty(lng)) { //TODO: Third choice to display wiki article in if it does not exist in the OsmAnd locale or "en" should be the longest article (most information, usually the on in the region's local language) - lng = a.getNameSelected(); + lng = a.getNameSelected(null); } // This should not occur if(Algorithms.isEmpty(lng)) { - lng = "EN"; + //lng = "EN"; + lng = "XX"; } final String langSelected = lng;