Use person's name in call update text.

This commit is contained in:
Greyson Parrelli 2018-07-24 16:33:05 -04:00
parent 39b27a9d7a
commit 0ced767ef2

View File

@ -97,7 +97,7 @@ public abstract class MessageRecord extends DisplayRecord {
} else if (isGroupQuit()) { } else if (isGroupQuit()) {
return new SpannableString(context.getString(R.string.ConversationItem_group_action_left, getIndividualRecipient().toShortString())); return new SpannableString(context.getString(R.string.ConversationItem_group_action_left, getIndividualRecipient().toShortString()));
} else if (isIncomingCall()) { } else if (isIncomingCall()) {
return new SpannableString(context.getString(R.string.MessageRecord_called_you)); return new SpannableString(context.getString(R.string.MessageRecord_s_called_you, getIndividualRecipient().toShortString()));
} else if (isOutgoingCall()) { } else if (isOutgoingCall()) {
return new SpannableString(context.getString(R.string.MessageRecord_you_called)); return new SpannableString(context.getString(R.string.MessageRecord_you_called));
} else if (isMissedCall()) { } else if (isMissedCall()) {