添加了接口控制文字消息和语音的展示
This commit is contained in:
parent
e061e61088
commit
58b2d69601
@ -193,7 +193,7 @@ public class SudGameActivity extends AbsActivity implements GameMicManager.Meeti
|
|||||||
gameMicManager.leaveRoom();
|
gameMicManager.leaveRoom();
|
||||||
gameMicManager.detachView();
|
gameMicManager.detachView();
|
||||||
}
|
}
|
||||||
if (!imOff) {
|
if (imOff) {
|
||||||
LiveNetManager.get(mContext)
|
LiveNetManager.get(mContext)
|
||||||
.leaveMic(mLiveUid, new HttpCallback<HttpCallbackModel>() {
|
.leaveMic(mLiveUid, new HttpCallback<HttpCallbackModel>() {
|
||||||
@Override
|
@Override
|
||||||
@ -303,7 +303,7 @@ public class SudGameActivity extends AbsActivity implements GameMicManager.Meeti
|
|||||||
ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.game_seat), new ViewClicksAntiShake.ViewClicksCallBack() {
|
ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.game_seat), new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||||
@Override
|
@Override
|
||||||
public void onViewClicks() {
|
public void onViewClicks() {
|
||||||
if (!imOff && gameMicManager != null) {
|
if (imOff && gameMicManager != null) {
|
||||||
if (mProcessResultUtil.checkPermissions(new String[]{Manifest.permission.RECORD_AUDIO})) {
|
if (mProcessResultUtil.checkPermissions(new String[]{Manifest.permission.RECORD_AUDIO})) {
|
||||||
if (publishDefault) {
|
if (publishDefault) {
|
||||||
disable = true;
|
disable = true;
|
||||||
@ -335,7 +335,7 @@ public class SudGameActivity extends AbsActivity implements GameMicManager.Meeti
|
|||||||
ViewClicksAntiShake.clicksAntiShake(gameCloseWheat, new ViewClicksAntiShake.ViewClicksCallBack() {
|
ViewClicksAntiShake.clicksAntiShake(gameCloseWheat, new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||||
@Override
|
@Override
|
||||||
public void onViewClicks() {
|
public void onViewClicks() {
|
||||||
if (!imOff && gameMicManager != null) {
|
if (imOff && gameMicManager != null) {
|
||||||
if (mProcessResultUtil.checkPermissions(new String[]{Manifest.permission.RECORD_AUDIO})) {
|
if (mProcessResultUtil.checkPermissions(new String[]{Manifest.permission.RECORD_AUDIO})) {
|
||||||
if (disable) {
|
if (disable) {
|
||||||
disable = false;
|
disable = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user