From 5da3b934ab148bddd25c67a922a46d73f949dd9c Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Sun, 7 Apr 2013 12:25:31 +0200 Subject: Fixed NullpointerException in DownloadRequester --- src/de/danoeh/antennapod/storage/DownloadRequester.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/de') diff --git a/src/de/danoeh/antennapod/storage/DownloadRequester.java b/src/de/danoeh/antennapod/storage/DownloadRequester.java index bebffe8f9..29bd764dd 100644 --- a/src/de/danoeh/antennapod/storage/DownloadRequester.java +++ b/src/de/danoeh/antennapod/storage/DownloadRequester.java @@ -113,7 +113,7 @@ public class DownloadRequester { private boolean isFilenameAvailable(String path) { for (String key : downloads.keySet()) { FeedFile f = downloads.get(key); - if (f.getFile_url().equals(path)) { + if (f.getFile_url() != null && f.getFile_url().equals(path)) { if (AppConfig.DEBUG) Log.d(TAG, path + " is already used by another requested download"); -- cgit v1.2.3