From 58b2d69601d03d397cf924428c440331edb4e5a5 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Mon, 15 Jan 2024 14:31:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E6=96=87=E5=AD=97=E6=B6=88=E6=81=AF=E5=92=8C?= =?UTF-8?q?=E8=AF=AD=E9=9F=B3=E7=9A=84=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/activity/SudGameActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/activity/SudGameActivity.java b/live/src/main/java/com/yunbao/live/activity/SudGameActivity.java index f2f54e726..f190a21a1 100644 --- a/live/src/main/java/com/yunbao/live/activity/SudGameActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/SudGameActivity.java @@ -193,7 +193,7 @@ public class SudGameActivity extends AbsActivity implements GameMicManager.Meeti gameMicManager.leaveRoom(); gameMicManager.detachView(); } - if (!imOff) { + if (imOff) { LiveNetManager.get(mContext) .leaveMic(mLiveUid, new HttpCallback() { @Override @@ -303,7 +303,7 @@ public class SudGameActivity extends AbsActivity implements GameMicManager.Meeti ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.game_seat), new ViewClicksAntiShake.ViewClicksCallBack() { @Override public void onViewClicks() { - if (!imOff && gameMicManager != null) { + if (imOff && gameMicManager != null) { if (mProcessResultUtil.checkPermissions(new String[]{Manifest.permission.RECORD_AUDIO})) { if (publishDefault) { disable = true; @@ -335,7 +335,7 @@ public class SudGameActivity extends AbsActivity implements GameMicManager.Meeti ViewClicksAntiShake.clicksAntiShake(gameCloseWheat, new ViewClicksAntiShake.ViewClicksCallBack() { @Override public void onViewClicks() { - if (!imOff && gameMicManager != null) { + if (imOff && gameMicManager != null) { if (mProcessResultUtil.checkPermissions(new String[]{Manifest.permission.RECORD_AUDIO})) { if (disable) { disable = false;