diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-04-07 12:25:31 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-04-07 12:25:31 +0200 |
commit | 5da3b934ab148bddd25c67a922a46d73f949dd9c (patch) | |
tree | 559c7ae9d415889a229baca34c2b8f1883c01ead /src/de/danoeh/antennapod | |
parent | e5b9b68e289a9d358bbee23c8bf056398e4ad396 (diff) | |
download | AntennaPod-5da3b934ab148bddd25c67a922a46d73f949dd9c.zip |
Fixed NullpointerException in DownloadRequester
Diffstat (limited to 'src/de/danoeh/antennapod')
-rw-r--r-- | src/de/danoeh/antennapod/storage/DownloadRequester.java | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |