修复直播间-用户-头像-跳直播间会卡主的问题

This commit is contained in:
zlzw 2022-10-28 17:06:20 +08:00
parent 40cd824389
commit 26db1514d8

View File

@ -22,7 +22,7 @@ public class ProcessResultUtil {
mFragment = new ProcessFragment(); mFragment = new ProcessFragment();
FragmentManager fragmentManager = activity.getSupportFragmentManager(); FragmentManager fragmentManager = activity.getSupportFragmentManager();
FragmentTransaction tx = fragmentManager.beginTransaction(); FragmentTransaction tx = fragmentManager.beginTransaction();
tx.add(mFragment, "ProcessFragment").commit(); tx.add(mFragment, "ProcessFragment").commitAllowingStateLoss();
} }
public void requestPermissions(String[] permissions, Runnable runnable) { public void requestPermissions(String[] permissions, Runnable runnable) {