Skip to content

Commit

Permalink
Fixed crash with unstable wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaholst committed Jul 26, 2011
1 parent 10ceb8d commit 88c8a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/danga/squeezer/SqueezerActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ private void updateSongInfo(SqueezerSong song) {
// Should only be called from the UI thread.
private void updateAlbumArtIfNeeded(SqueezerSong song) {
if (Util.atomicSongUpdated(currentSong, song))
iconUpdater.updateIcon(albumArt, song, song.getArtworkUrl(getService()));
iconUpdater.updateIcon(albumArt, song, song != null ? song.getArtworkUrl(getService()) : null);
}

private int getSecondsElapsed() {
Expand Down

0 comments on commit 88c8a84

Please sign in to comment.