fix NPE when unbinding ConversationItem

fixes #3329
fixes #3320
// FREEBIE
This commit is contained in:
Jake McGinty 2015-06-03 15:15:59 -07:00
parent 12255ed453
commit 82d7300fc0

View File

@ -166,7 +166,9 @@ public class ConversationItem extends LinearLayout {
} }
public void unbind() { public void unbind() {
mediaThumbnail.clear(); if (mediaThumbnail != null) {
mediaThumbnail.clear();
}
} }
public MessageRecord getMessageRecord() { public MessageRecord getMessageRecord() {