mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix ANR when trying to load a message composed of 10,000 random emoji.
This commit is contained in:
committed by
Cody Henthorne
parent
f8eaa96412
commit
c9a59a7417
@@ -1089,7 +1089,7 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
||||
bodyText.setMaxLines(Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
bodyText.setText(StringUtil.trim(styledText));
|
||||
bodyText.setTextAsync(StringUtil.trim(styledText));
|
||||
bodyText.setVisibility(View.VISIBLE);
|
||||
|
||||
if (conversationMessage.getBottomButton() != null) {
|
||||
|
||||
Reference in New Issue
Block a user