Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emojis still crashing on Android versions below 9.0 / P / API 28 #4769

Closed
ouchadam opened this issue Dec 20, 2021 · 0 comments · Fixed by #4770
Closed

Emojis still crashing on Android versions below 9.0 / P / API 28 #4769

ouchadam opened this issue Dec 20, 2021 · 0 comments · Fixed by #4770
Labels
A-Timeline O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-Crash

Comments

@ouchadam
Copy link
Contributor

Steps to reproduce

  1. On a device running android 8.1.1 or below, with play services enabled
  2. Open a room with the 😮‍💨 emoji

Outcome

What did you expect?

No crash

What happened instead?

We're still seeing #4691 however it's limited to android versions below 9.0 / P / API 28

Thread: main, Exception: java.lang.IllegalArgumentException: MetricAffectingSpan can not be set to PrecomputedText.
at androidx.core.text.PrecomputedTextCompat.setSpan(PrecomputedTextCompat.java:5)
at androidx.emoji2.text.EmojiCompat$CompatInternal19.process(EmojiCompat.java:51)
at androidx.emoji2.text.EmojiCompat.process(EmojiCompat.java:12)
at androidx.emoji2.viewsintegration.EmojiInputFilter.filter(EmojiInputFilter.java:8)
at android.widget.TextView.setText(TextView.java:4996)
at android.widget.TextView.setText(TextView.java:4962)
at android.widget.TextView.setText(TextView.java:4937)
at androidx.core.widget.TextViewCompat.setPrecomputedText(TextViewCompat.java:8)

Your phone model

No response

Operating system version

No response

Application version and app store

No response

Homeserver

N/A

Will you send logs?

No

@ouchadam ouchadam added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Dec 20, 2021
@ouchadam ouchadam added A-Timeline O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround Z-Crash labels Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Timeline O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-Crash
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant