diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-11-13 16:12:12 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-11-13 16:12:12 -0800 |
commit | d4d86f9f0a9a40a834ab180df249a85af0ab2a4d (patch) | |
tree | 56fbacd4ef0ee9b7e6e07e8ef629c1a18d4cfbb6 /app/src/main/java/github | |
parent | ec1b17c7bce3633a59774fd64681dc1f30a04240 (diff) | |
download | dsub-d4d86f9f0a9a40a834ab180df249a85af0ab2a4d.tar.gz dsub-d4d86f9f0a9a40a834ab180df249a85af0ab2a4d.tar.bz2 dsub-d4d86f9f0a9a40a834ab180df249a85af0ab2a4d.zip |
DSub 5.1 Final Released
Diffstat (limited to 'app/src/main/java/github')
-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) { |