Fix artist image loading on Android Pie (use https)

This commit is contained in:
Karim Abou Zeid 2019-04-10 13:27:17 +02:00
commit cf1874b1fa
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ import okhttp3.OkHttpClient;
public class ArtistImageLoader implements StreamModelLoader<ArtistImage> { public class ArtistImageLoader implements StreamModelLoader<ArtistImage> {
// we need these very low values to make sure our artist image loading calls doesn't block the image loading queue // we need these very low values to make sure our artist image loading calls doesn't block the image loading queue
private static final int TIMEOUT = 500; private static final int TIMEOUT = 700;
private Context context; private Context context;
private LastFMRestClient lastFMClient; private LastFMRestClient lastFMClient;

View file

@ -21,7 +21,7 @@ import retrofit2.converter.gson.GsonConverterFactory;
* @author Karim Abou Zeid (kabouzeid) * @author Karim Abou Zeid (kabouzeid)
*/ */
public class LastFMRestClient { public class LastFMRestClient {
public static final String BASE_URL = "http://ws.audioscrobbler.com/2.0/"; public static final String BASE_URL = "https://ws.audioscrobbler.com/2.0/";
private LastFMService apiService; private LastFMService apiService;