修复一处闪退bug

This commit is contained in:
zlzw 2022-10-31 10:16:10 +08:00
parent 89a54276b3
commit 34f70bb4cd

View File

@ -91,7 +91,7 @@ public class LiveFloatView implements Function1<FloatCallbacks.Builder, Unit> {
public void onViewClicks() { public void onViewClicks() {
mPlayer.stopPlay(); mPlayer.stopPlay();
APPEasyFloat.getInstance().dismiss(mContext); APPEasyFloat.getInstance().dismiss(mContext);
if (IMLoginManager.get(mContext).isHint2()) { if (IMLoginManager.get(mContext).isHint2()&& !((FragmentActivity) mContext).getSupportFragmentManager().isDestroyed()) {
HintDialog fragment = new HintDialog(); HintDialog fragment = new HintDialog();
Bundle args = new Bundle(); Bundle args = new Bundle();
args.putString("close", "1"); args.putString("close", "1");