diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-10-16 13:36:14 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-10-16 13:36:14 -0700 |
commit | 4810c17db64082a078739d8201cc5f87faac0c27 (patch) | |
tree | 0379b4bf9c1f398d9ae0094aa406570f0bc0600f /src/github/daneren2005 | |
parent | 7b1f3c6de11ac000a37d029c8c29086eff08fe1b (diff) | |
download | dsub-4810c17db64082a078739d8201cc5f87faac0c27.tar.gz dsub-4810c17db64082a078739d8201cc5f87faac0c27.tar.bz2 dsub-4810c17db64082a078739d8201cc5f87faac0c27.zip |
Fix for downloadFile == null somehow
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r-- | src/github/daneren2005/dsub/util/Util.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/util/Util.java b/src/github/daneren2005/dsub/util/Util.java index f7dbb8bd..606b4b0d 100644 --- a/src/github/daneren2005/dsub/util/Util.java +++ b/src/github/daneren2005/dsub/util/Util.java @@ -939,7 +939,7 @@ public final class Util { builder = new NotificationCompat.Builder(context) .setSmallIcon(R.drawable.stat_notify_download) .setContentTitle("Downloading " + size + " songs") - .setContentText("Current: " + file.getSong().getTitle()) + .setContentText("Current: " + (file != null ? file.getSong().getTitle() : "none")) .setProgress(10, 5, true) .setOngoing(true); |