aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-11-13 16:12:12 -0800
committerScott Jackson <daneren2005@gmail.com>2015-11-13 16:12:12 -0800
commitd4d86f9f0a9a40a834ab180df249a85af0ab2a4d (patch)
tree56fbacd4ef0ee9b7e6e07e8ef629c1a18d4cfbb6 /app/src/main/java/github
parentec1b17c7bce3633a59774fd64681dc1f30a04240 (diff)
downloaddsub-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.java4
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) {