diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-03-24 12:37:45 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-03-24 12:37:45 +0100 |
commit | 2bcb1df73a249b077673b956c676bac8e04de103 (patch) | |
tree | 92f36ac65b493b74f96b73e2d40381d4918f692c /src | |
parent | 498d8dbf1eed1e9a5b4d1ebf6400ec6612a26812 (diff) | |
download | AntennaPod-2bcb1df73a249b077673b956c676bac8e04de103.zip |
Removing a feed caused IndexOutOfBoundsException in
ExternalEpisodeAdapter
Diffstat (limited to 'src')
-rw-r--r-- | src/de/danoeh/antennapod/feed/FeedManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/feed/FeedManager.java b/src/de/danoeh/antennapod/feed/FeedManager.java index e5de32f59..230e0087a 100644 --- a/src/de/danoeh/antennapod/feed/FeedManager.java +++ b/src/de/danoeh/antennapod/feed/FeedManager.java @@ -220,7 +220,6 @@ public class FeedManager { @Override public void run() { feeds.remove(feed); - eventDist.sendFeedUpdateBroadcast(); dbExec.execute(new Runnable() { @Override @@ -266,7 +265,9 @@ public class FeedManager { adapter.removeFeed(feed); adapter.close(); + eventDist.sendFeedUpdateBroadcast(); } + }); } }); |