From 866dda7806a64f8300fea1727eb3421f181edf93 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 26 Sep 2022 11:52:37 +0200 Subject: [PATCH] Disable emoji2 by default emoji2 is unstable and Google isn't interested in fixing it --- app/src/main/java/eu/faircode/email/ApplicationEx.java | 2 +- app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index d3b561263f..8bc657ef8a 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -172,7 +172,7 @@ public class ApplicationEx extends Application SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); final boolean crash_reports = prefs.getBoolean("crash_reports", false); final boolean leak_canary = prefs.getBoolean("leak_canary", false); - final boolean load_emoji = prefs.getBoolean("load_emoji", BuildConfig.PLAY_STORE_RELEASE); + final boolean load_emoji = prefs.getBoolean("load_emoji", false); prev = Thread.getDefaultUncaughtExceptionHandler(); diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java b/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java index 86201d92e5..d6787e5716 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java @@ -595,7 +595,7 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer tvGenericUserAgent.setText(WebViewEx.getUserAgent(getContext())); swGenericUserAgent.setChecked(prefs.getBoolean("generic_ua", false)); swSafeBrowsing.setChecked(prefs.getBoolean("safe_browsing", false)); - swLoadEmoji.setChecked(prefs.getBoolean("load_emoji", BuildConfig.PLAY_STORE_RELEASE)); + swLoadEmoji.setChecked(prefs.getBoolean("load_emoji", false)); long time = prefs.getLong("disconnect_last", -1); DateFormat DF = SimpleDateFormat.getDateTimeInstance();