From 4afdc2b4b344f00c1f97cfab3bbed0451bfc7515 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 26 Apr 2020 10:02:24 +0200 Subject: [PATCH] Enable experiments for non Play store releases --- 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..5e5f848df8 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 < 1121) { + if (!Helper.isPlayStoreInstall()) + editor.putBoolean("experiments", true); } if (version < BuildConfig.VERSION_CODE)