From 26db1514d864c57596c2439c497e51b611a66633 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Fri, 28 Oct 2022 17:06:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=B4=E6=92=AD=E9=97=B4-?= =?UTF-8?q?=E7=94=A8=E6=88=B7-=E5=A4=B4=E5=83=8F-=E8=B7=B3=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E9=97=B4=E4=BC=9A=E5=8D=A1=E4=B8=BB=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/common/utils/ProcessResultUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/yunbao/common/utils/ProcessResultUtil.java b/common/src/main/java/com/yunbao/common/utils/ProcessResultUtil.java index b3f59ada9..20225a466 100644 --- a/common/src/main/java/com/yunbao/common/utils/ProcessResultUtil.java +++ b/common/src/main/java/com/yunbao/common/utils/ProcessResultUtil.java @@ -22,7 +22,7 @@ public class ProcessResultUtil { mFragment = new ProcessFragment(); FragmentManager fragmentManager = activity.getSupportFragmentManager(); FragmentTransaction tx = fragmentManager.beginTransaction(); - tx.add(mFragment, "ProcessFragment").commit(); + tx.add(mFragment, "ProcessFragment").commitAllowingStateLoss(); } public void requestPermissions(String[] permissions, Runnable runnable) {