From a43b6aaa56e0d343fe3247e6496456593fe5f802 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 15 Sep 2020 16:39:32 +0200 Subject: [PATCH] Revert "Disable new fragment manager" This reverts commit 031d051a55c7b7de26a6bd82cf5f5ba37df09719. --- app/src/main/java/eu/faircode/email/ApplicationEx.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index 11f9165301..e7934599b6 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -37,7 +37,6 @@ import android.os.Looper; import android.util.Printer; import android.webkit.CookieManager; -import androidx.fragment.app.FragmentManager; import androidx.preference.PreferenceManager; import java.util.Date; @@ -123,8 +122,6 @@ public class ApplicationEx extends Application { WorkerWatchdog.init(this); WorkerCleanup.queue(this); - FragmentManager.enableNewStateManager(false); - registerReceiver(onScreenOff, new IntentFilter(Intent.ACTION_SCREEN_OFF)); if (BuildConfig.DEBUG)