aboutsummaryrefslogtreecommitdiffstats
path: root/src/standardPush/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/standardPush/java')
-rw-r--r--src/standardPush/java/de/pixart/messenger/services/EmojiService.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/standardPush/java/de/pixart/messenger/services/EmojiService.java b/src/standardPush/java/de/pixart/messenger/services/EmojiService.java
index 5f79eed43..e326b1766 100644
--- a/src/standardPush/java/de/pixart/messenger/services/EmojiService.java
+++ b/src/standardPush/java/de/pixart/messenger/services/EmojiService.java
@@ -2,11 +2,32 @@ package de.pixart.messenger.services;
import android.content.Context;
import android.os.Build;
+import android.util.Log;
+import androidx.core.provider.FontRequest;
import androidx.emoji.text.EmojiCompat;
+import androidx.emoji.text.FontRequestEmojiCompatConfig;
+
+import de.pixart.messenger.Config;
+import de.pixart.messenger.R;
public class EmojiService {
+ private final EmojiCompat.InitCallback initCallback = new EmojiCompat.InitCallback() {
+ @Override
+ public void onInitialized() {
+ super.onInitialized();
+ Log.d(Config.LOGTAG, "EmojiService succeeded in loading fonts");
+
+ }
+
+ @Override
+ public void onFailed(Throwable throwable) {
+ super.onFailed(throwable);
+ Log.d(Config.LOGTAG, "EmojiService failed to load fonts", throwable);
+ }
+ };
+
private final Context context;
public EmojiService(Context context) {