Commit e26f23fd authored by Geoffrey Métais's avatar Geoffrey Métais

Http DL: Use default port if none is set

parent 5b59c898
......@@ -113,8 +113,6 @@ public class HttpImageLoader implements Callbacks {
return icon;
try {
URL url = new URL(imageUrl);
if (url.getPort() <= 0)
return null;
urlConnection = (HttpURLConnection) url.openConnection();
InputStream in = new BufferedInputStream(urlConnection.getInputStream());
icon = BitmapFactory.decodeStream(in);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment