|
|
|
@ -532,6 +532,7 @@ class ImageHelper {
|
|
|
|
|
urlConnection.setReadTimeout(DOWNLOAD_TIMEOUT);
|
|
|
|
|
urlConnection.setConnectTimeout(DOWNLOAD_TIMEOUT);
|
|
|
|
|
urlConnection.setInstanceFollowRedirects(true);
|
|
|
|
|
if (BuildConfig.DEBUG)
|
|
|
|
|
urlConnection.setRequestProperty("User-Agent", ua);
|
|
|
|
|
urlConnection.connect();
|
|
|
|
|
|
|
|
|
|