Updated AndroidX fragment

pull/215/head
M66B 5 months ago
parent 1fbcccadcf
commit 0a9b9b58a4

@ -551,7 +551,7 @@ dependencies {
def emoji_version = "1.4.0" // 1.5.0-alpha01
def flatbuffers_version = "2.0.0"
def activity_version = " 1.9.0"
def fragment_version = "1.6.2" // 1.7.1 // 1.8.0-beta01
def fragment_version = "1.7.1" // 1.8.0-beta01
def windows_version = "1.2.0" // 1.3.0-rc01
def webkit_version = "1.10.0" // 1.11.0
def recyclerview_version = "1.3.2" // 1.4.0-alpha01

@ -46,6 +46,7 @@ import androidx.core.os.LocaleListCompat;
import androidx.emoji2.text.DefaultEmojiCompatConfig;
import androidx.emoji2.text.EmojiCompat;
import androidx.emoji2.text.FontRequestEmojiCompatConfig;
import androidx.fragment.app.FragmentManager;
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;
@ -257,7 +258,7 @@ public class ApplicationEx extends Application
// https://issuetracker.google.com/issues/341313071
// https://developer.android.com/guide/navigation/custom-back/support-animations#fragments
// https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture#opt-predictive
//FragmentManager.enablePredictiveBack(false);
FragmentManager.enablePredictiveBack(false);
if (Helper.hasWebView(this))
CookieManager.getInstance().setAcceptCookie(false);

Loading…
Cancel
Save