Make sure snippet is never null

Bug: 3241603
Change-Id: I5ef35e041b70e72005204ac242b46b5747617b87
This commit is contained in:
Marc Blank 2010-12-01 15:41:16 -08:00
parent 4f4c902916
commit 6e8d964faa

View File

@ -159,6 +159,9 @@ import java.util.Set;
text = context.getString(R.string.message_list_snippet, text, snippet);
}
}
if (text == null) {
text = "";
}
itemView.mSnippet = text;
}