Merge change 22829 into eclair
* changes: Fix #2081145 (Empty subject line imitates magic eight ball)
This commit is contained in:
commit
6c99ea3d02
@ -1232,7 +1232,7 @@ public class MessageList extends ListActivity implements OnItemClickListener, On
|
||||
|
||||
TextView fromView = (TextView) view.findViewById(R.id.from);
|
||||
String text = cursor.getString(COLUMN_DISPLAY_NAME);
|
||||
if (text != null) fromView.setText(text);
|
||||
fromView.setText(text);
|
||||
|
||||
boolean hasAttachments = cursor.getInt(COLUMN_ATTACHMENTS) != 0;
|
||||
fromView.setCompoundDrawablesWithIntrinsicBounds(null, null,
|
||||
@ -1240,7 +1240,7 @@ public class MessageList extends ListActivity implements OnItemClickListener, On
|
||||
|
||||
TextView subjectView = (TextView) view.findViewById(R.id.subject);
|
||||
text = cursor.getString(COLUMN_SUBJECT);
|
||||
if (text != null) subjectView.setText(text);
|
||||
subjectView.setText(text);
|
||||
|
||||
// TODO ui spec suggests "time", "day", "date" - implement "day"
|
||||
TextView dateView = (TextView) view.findViewById(R.id.date);
|
||||
|
Loading…
Reference in New Issue
Block a user