remove obsolete code

This commit is contained in:
sonora 2015-06-14 21:42:03 +02:00
parent 60b365aa26
commit 4b6f61fc59

View file

@ -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);