diff options
author | lado <herrlado@gmail.com> | 2013-12-26 13:07:47 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-12-26 13:07:47 +0100 |
commit | b33ce0e0e2d5a49accd0c4d25c0a7555cbca8de0 (patch) | |
tree | a118416375fa48a5e37449d288198b568d3ee090 /vdrmanager | |
parent | c6a14f2a4e5bf8773fe9cb38b36f281529b17dcc (diff) | |
download | vdr-manager-b33ce0e0e2d5a49accd0c4d25c0a7555cbca8de0.tar.gz vdr-manager-b33ce0e0e2d5a49accd0c4d25c0a7555cbca8de0.tar.bz2 |
possible npe fix
Diffstat (limited to 'vdrmanager')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java index 7b923e9..1d4a385 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java @@ -282,6 +282,9 @@ public class EventEpgListActivity extends BaseTimerEditActivity<Epg> implements private static final ArrayList<Epg> EMPTY = new ArrayList<Epg>(0); private ArrayList<Epg> getCache() { + if(currentChannel == null){ + return EMPTY; + } final ArrayList<Epg> arrayList = EpgCache.CACHE.get(currentChannel .getId()); if (arrayList == null) { |