mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-10 07:31:34 +02:00
Make EmojiManager initialization synchronized
This commit is contained in:
parent
e12561dd1d
commit
ad9b45a94d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user