From dd3904ac12095f583b6c1936387ee6af6ee461d5 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 25 Apr 2020 11:59:08 +0200 Subject: [PATCH] Enable experiments for non Play store versions --- app/src/main/java/eu/faircode/email/ApplicationEx.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index cef0b941ef..f847b76ce0 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -269,6 +269,9 @@ public class ApplicationEx extends Application { boolean highlight_unread = prefs.getBoolean("highlight_unread", false); if (!highlight_unread) editor.putBoolean("highlight_unread", highlight_unread); + } else if (version < 1119) { + if (!Helper.isPlayStoreInstall()) + editor.putBoolean("experiments", true); } if (version < BuildConfig.VERSION_CODE)