Updated libraries.

This commit is contained in:
Karim Abou Zeid 2016-03-13 16:17:16 +01:00
commit 373bba9e98
4 changed files with 39 additions and 43 deletions

View file

@ -51,7 +51,7 @@ public class ArtistImageFetcher implements DataFetcher<InputStream> {
if (!MusicUtil.isArtistNameUnknown(model.artistName) && Util.isAllowedToAutoDownload(context)) {
Response<LastFmArtist> response = lastFMRestClient.getApiService().getArtistInfo(model.artistName, model.skipOkHttpCache ? "no-cache" : null).execute();
if (!response.isSuccess()) {
if (!response.isSuccessful()) {
throw new IOException("Request failed with code: " + response.code());
}