mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Make EmojiManager initialization synchronized
This commit is contained in:
@@ -70,7 +70,7 @@ public class EmojiConverter {
|
||||
return text;
|
||||
}
|
||||
|
||||
private static String convertAdvancedEmojiToAscii(String text, Context context) {
|
||||
private static synchronized String convertAdvancedEmojiToAscii(String text, Context context) {
|
||||
// Do a lazy initialisation not to slowdown the startup and when it is needed
|
||||
if (!isInitialised) {
|
||||
EmojiManager.initEmojiData(context);
|
||||
|
Reference in New Issue
Block a user