summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-11-16 20:10:52 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2012-11-16 20:10:52 +0100
commit5090485a1e85cb011f11c93302deb794b974321e (patch)
tree2f2c4c0c3aa8095eb78bca5590b211c84e04496e /src
parentef5dc7cb0e839ae2f80e3acf6c4c41bcf63f0a94 (diff)
downloadAntennaPod-5090485a1e85cb011f11c93302deb794b974321e.zip
if-statement was wrong
Diffstat (limited to 'src')
-rw-r--r--src/de/danoeh/antennapod/feed/FeedManager.java6
-rw-r--r--src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/de/danoeh/antennapod/feed/FeedManager.java b/src/de/danoeh/antennapod/feed/FeedManager.java
index 03a0637ae..860922e7e 100644
--- a/src/de/danoeh/antennapod/feed/FeedManager.java
+++ b/src/de/danoeh/antennapod/feed/FeedManager.java
@@ -1347,9 +1347,13 @@ public class FeedManager {
public void loadExtraInformationOfItem(final Context context,
final FeedItem item, FeedManager.TaskCallback callback) {
- if (AppConfig.DEBUG)
+ if (AppConfig.DEBUG) {
Log.d(TAG,
"Loading extra information of item with id " + item.getId());
+ if (item.getTitle() != null) {
+ Log.d(TAG, "Title: " + item.getTitle());
+ }
+ }
dbExec.execute(new FeedManager.Task(new Handler(), callback) {
@Override
diff --git a/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java b/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java
index 42041ce2e..0f13e8fd6 100644
--- a/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java
+++ b/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java
@@ -109,7 +109,7 @@ public class ItemDescriptionFragment extends SherlockFragment {
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
if (item != null) {
- if (item.getDescription() == null && item.getDescription() == null) {
+ if (item.getDescription() == null && item.getContentEncoded() == null) {
Log.i(TAG, "Loading data");
FeedManager.getInstance().loadExtraInformationOfItem(
getActivity(), item, new FeedManager.TaskCallback() {