diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2015-07-12 21:49:02 +0200 |
---|---|---|
committer | Martin Fietz <Martin.Fietz@gmail.com> | 2015-07-12 21:49:02 +0200 |
commit | d979c06a2bfd3191407839ce66fd8f3f271753a6 (patch) | |
tree | b99e6fe54e57f34d23688d0d10ec8cc1b05a67b4 /app | |
parent | a831f01eebc119ce31887d185a60378a62f6826a (diff) | |
download | AntennaPod-d979c06a2bfd3191407839ce66fd8f3f271753a6.zip |
Prevent NPE
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/ItemlistFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/ItemlistFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/ItemlistFragment.java index 5862e248b..261f030b7 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/ItemlistFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/ItemlistFragment.java @@ -614,7 +614,7 @@ public class ItemlistFragment extends ListFragment { Context context = getActivity(); if (context != null) { Feed feed = DBReader.getFeed(context, feedID); - if(feed.getItemFilter() != null) { + if(feed != null && feed.getItemFilter() != null) { FeedItemFilter filter = feed.getItemFilter(); feed.setItems(filter.filter(context, feed.getItems())); } |