From 83c363481e20cdd4e5fed030404451c5382db0cc Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Sat, 22 Sep 2012 14:12:40 +0200 Subject: [PATCH] 'Enqueue all' didn't save --- .../danoeh/antennapod/feed/FeedManager.java | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/de/danoeh/antennapod/feed/FeedManager.java b/src/de/danoeh/antennapod/feed/FeedManager.java index 9c056b940..134feb6b5 100644 --- a/src/de/danoeh/antennapod/feed/FeedManager.java +++ b/src/de/danoeh/antennapod/feed/FeedManager.java @@ -413,17 +413,16 @@ public class FeedManager { } } sendQueueUpdateBroadcast(context, items[0]); + dbExec.execute(new Runnable() { - } - }); - dbExec.execute(new Runnable() { - - @Override - public void run() { - PodDBAdapter adapter = new PodDBAdapter(context); - adapter.open(); - adapter.setQueue(queue); - adapter.close(); + @Override + public void run() { + PodDBAdapter adapter = new PodDBAdapter(context); + adapter.open(); + adapter.setQueue(queue); + adapter.close(); + } + }); } }); }