Disable embedded images

This commit is contained in:
Martin Fietz 2015-06-20 15:57:54 +02:00
parent 560970d938
commit 1684358dad
1 changed files with 6 additions and 7 deletions

View File

@ -229,10 +229,12 @@ public class FeedMedia extends FeedFile implements Playable {
}
public boolean hasEmbeddedPicture() {
if(hasEmbeddedPicture == null) {
checkEmbeddedPicture();
}
return hasEmbeddedPicture;
return false;
// TODO: reenable!
//if(hasEmbeddedPicture == null) {
// checkEmbeddedPicture();
//}
//return hasEmbeddedPicture;
}
@Override
@ -421,7 +423,6 @@ public class FeedMedia extends FeedFile implements Playable {
builder.appendQueryParameter(PARAM_FALLBACK, feedImgUri.toString());
}
}
return builder.build();
} else {
return item.getImageUri();
@ -431,13 +432,11 @@ public class FeedMedia extends FeedFile implements Playable {
@Override
public void setDownloaded(boolean downloaded) {
super.setDownloaded(downloaded);
checkEmbeddedPicture();
}
@Override
public void setFile_url(String file_url) {
super.setFile_url(file_url);
checkEmbeddedPicture();
}
private void checkEmbeddedPicture() {