PK结束消失PK条
This commit is contained in:
@@ -1501,6 +1501,11 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
|
||||
mLivePushViewHolder.changeToBig();
|
||||
}
|
||||
break;
|
||||
case AI_AUTOMATIC_SPEECH:
|
||||
if (mLiveRoomViewHolder != null) {
|
||||
mLiveRoomViewHolder.aiAutomaticSpeech((event.getAiAutomaticSpeechModel()));
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -391,6 +391,12 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
||||
if (mIsAnchor) {
|
||||
((LiveRyAnchorActivity) mContext).setPkBtnVisible(true);
|
||||
}
|
||||
//如果PK结束Im没有发送关闭PK的消息,倒计时结束自动关闭
|
||||
if (mLiveLinkMicPkViewHolder != null) {
|
||||
mLiveLinkMicPkViewHolder.removeFromParent();
|
||||
mLiveLinkMicPkViewHolder.release();
|
||||
}
|
||||
mLiveLinkMicPkViewHolder = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user