From fae361370d5956c5b5798a54901c5195fb817058 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 7 Jun 2013 12:53:00 +0400 Subject: [PATCH] onArticleSelected: bail out if article is null --- src/org/fox/ttrss/HeadlinesActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/org/fox/ttrss/HeadlinesActivity.java b/src/org/fox/ttrss/HeadlinesActivity.java index 6d0af32b..0bd5cabc 100644 --- a/src/org/fox/ttrss/HeadlinesActivity.java +++ b/src/org/fox/ttrss/HeadlinesActivity.java @@ -179,6 +179,8 @@ public class HeadlinesActivity extends OnlineActivity implements HeadlinesEventL @Override public void onArticleSelected(Article article, boolean open) { + if (article == null) return; + if (article.unread) { article.unread = false; saveArticleUnread(article);