diff options
Diffstat (limited to 'app/src/main/java/github/daneren2005')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/service/DownloadService.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java index 0ed79d52..8a583630 100644 --- a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java +++ b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java @@ -406,6 +406,10 @@ public class DownloadService extends Service { int size = size(); int index = getCurrentPlayingIndex(); for (MusicDirectory.Entry song : songs) { + if(song == null) { + continue; + } + DownloadFile downloadFile = new DownloadFile(this, song, save); addToDownloadList(downloadFile, -1); if(noNetwork && !warnNetwork) { |