From 4b6f61fc5904adec1e9e378e89cb8ca9824ddf09 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 14 Jun 2015 21:42:03 +0200 Subject: [PATCH] remove obsolete code --- OsmAnd/src/net/osmand/plus/views/POIMapLayer.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java index 0234171fd4..367e53c615 100644 --- a/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java @@ -401,10 +401,6 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon @Override public void onClick(View v) { String article = "http://"+langSelected.toLowerCase()+".wikipedia.org/wiki/" + title.replace(' ', '_'); - // If Default language, use EN for the URL, unless we find a better way to determine what the articles default language is - if(langSelected.equals("")) { - article = "http://en.wikipedia.org/wiki/" + title.replace(' ', '_'); - } Intent i = new Intent(Intent.ACTION_VIEW); i.setData(Uri.parse(article)); ctx.startActivity(i);