From 8cb61993b91aecd919d1ade28ad051b19a950d1e Mon Sep 17 00:00:00 2001 From: Arne Date: Tue, 21 Nov 2023 21:17:17 +0100 Subject: [PATCH] No emoji search needed since there already is an emoji keyboard --- src/main/java/de/monocles/chat/EmojiSearch.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/de/monocles/chat/EmojiSearch.java b/src/main/java/de/monocles/chat/EmojiSearch.java index 63e0d9d3e..10c0ba6c3 100644 --- a/src/main/java/de/monocles/chat/EmojiSearch.java +++ b/src/main/java/de/monocles/chat/EmojiSearch.java @@ -41,6 +41,7 @@ public class EmojiSearch { protected final Set emoji = new TreeSet<>(); public EmojiSearch(Context context) { + /* TODO: No emoji search needed since there already is an emoji keyboard try { final JSONArray data = new JSONArray(CharStreams.toString(new InputStreamReader(context.getResources().openRawResource(R.raw.emoji), "UTF-8"))); for (int i = 0; i < data.length(); i++) { @@ -49,6 +50,7 @@ public class EmojiSearch { } catch (final JSONException | IOException e) { throw new IllegalStateException("emoji.json invalid: " + e); } + */ } public synchronized void addEmoji(final Emoji one) {