Inconsistent rendering of Jumbomojis if system emojis are enabled
- [X] I have searched open and closed issues for duplicates
- [X] I am submitting a bug report for existing functionality that does not work as intended
- [X] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
- [X] This isn't a feature request or a discussion topic
Bug description
When system emojis are selected, emoji-only messages don't alwas show jumbomojis.
Steps to reproduce
- Set preference to "Use system emoji"
- Send (or receive) a message containing only emojis
Actual result: Sometimes, e.g. during sending (see first screenshot), the emoji is correctly shown as jumbomoji. Directly afterwards, it is shown as normal (small) emoji (second screenshot). Closing the conversation and opening again sometimes fixes it, sometimes it doesn't. If I don't use system emoji, the jumbomojis are shown correctly.
Expected result: The emoji-only message should always show a jumbomoji.
Since this bug only occurs for system emojis and I think I had some Google updates recently, maybe this bug is not produced by Signal (but I don't have another app that uses system jumbomojis). In this case, feel free to close this issue.
Screenshots
Jumbomoji during send (flight mode was only enabled to have sufficient time for a screenshot):

Regular emoji after send:

Opening the conversation later on (inconsistent size):

Correct display for integrated emojis:

Device info
Device: Motorola Moto G5 Android version: 7.0 Signal version: 4.20.5
Link to debug log
If necessary, I will upload a debug log
Can be easily reproduced by selecting a message. This will make the system emojis on the screen turn small.
This was caused by ceafb0d130910a9742ba510defa1afe2be095f8c. I've already fixed it in my fork.