}
@Override
- protected void invalidateInfo(String luid) {
+ protected synchronized void invalidateInfo(String luid) {
stories = null;
sourceCovers = new HashMap<String, Image>();
}
@Override
public void setSourceCover(String source, String luid) {
sourceCovers.put(source, getCover(luid));
- File cover = new File(getExpectedDir(source), ".cover.png");
+ File cover = new File(getExpectedDir(source), ".cover");
try {
Instance.getCache().saveAsImage(sourceCovers.get(source), cover,
true);
*/
void setSourceCover(String source, Image coverImage) {
sourceCovers.put(source, coverImage);
- File cover = new File(getExpectedDir(source), ".cover.png");
+ File cover = new File(getExpectedDir(source), ".cover");
try {
Instance.getCache().saveAsImage(sourceCovers.get(source), cover,
true);