diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-05-14 08:51:41 -0600 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-05-14 08:51:41 -0600 |
commit | 4614bb2d9151fef00d43ce9661dd4d48c4973f7c (patch) | |
tree | 7be30f4cfcd3535ef4dfb0cc08105b2e6870289b /subsonic-android/src | |
parent | 38272e3c9da08e740604bfc273d8609c8c0ae853 (diff) | |
download | dsub-4614bb2d9151fef00d43ce9661dd4d48c4973f7c.tar.gz dsub-4614bb2d9151fef00d43ce9661dd4d48c4973f7c.tar.bz2 dsub-4614bb2d9151fef00d43ce9661dd4d48c4973f7c.zip |
Added safety check that really shouldn't be needed
Diffstat (limited to 'subsonic-android/src')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java index dc1e2f0f..bae4310d 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java @@ -328,7 +328,7 @@ public class DownloadServiceImpl extends Service implements DownloadService { download(songs, false, false, false, false); if (currentPlayingIndex != -1) { play(currentPlayingIndex, autoPlayStart); - if (currentPlaying.isCompleteFileAvailable()) { + if (currentPlaying != null && currentPlaying.isCompleteFileAvailable()) { doPlay(currentPlaying, currentPlayingPosition, autoPlayStart); } autoPlayStart = false; |