mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 06:01:12 +00:00
Disable new fragment manager
This commit is contained in:
parent
2935b9ff52
commit
031d051a55
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,7 @@ import android.os.Looper;
|
||||||
import android.util.Printer;
|
import android.util.Printer;
|
||||||
import android.webkit.CookieManager;
|
import android.webkit.CookieManager;
|
||||||
|
|
||||||
|
import androidx.fragment.app.FragmentManager;
|
||||||
import androidx.preference.PreferenceManager;
|
import androidx.preference.PreferenceManager;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -122,6 +123,8 @@ public class ApplicationEx extends Application {
|
||||||
WorkerWatchdog.init(this);
|
WorkerWatchdog.init(this);
|
||||||
WorkerCleanup.queue(this);
|
WorkerCleanup.queue(this);
|
||||||
|
|
||||||
|
FragmentManager.enableNewStateManager(false);
|
||||||
|
|
||||||
registerReceiver(onScreenOff, new IntentFilter(Intent.ACTION_SCREEN_OFF));
|
registerReceiver(onScreenOff, new IntentFilter(Intent.ACTION_SCREEN_OFF));
|
||||||
|
|
||||||
if (BuildConfig.DEBUG)
|
if (BuildConfig.DEBUG)
|
||||||
|
|
Loading…
Reference in a new issue