Fix artist image loading on Android Pie (use https)
This commit is contained in:
parent
58fb31b4b1
commit
cf1874b1fa
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue