Disable new fragment manager

This commit is contained in:
M66B 2020-09-15 09:07:37 +02:00
parent 2935b9ff52
commit 031d051a55
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@ 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;
@ -122,6 +123,8 @@ 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)