邀请后不接受倒计时完了在邀请 不显示pk弹出框
This commit is contained in:
parent
d5f78cc83a
commit
0afee3543e
@ -554,14 +554,18 @@ public class LiveSwLinkMicPkPresenter implements View.OnClickListener {
|
||||
mApplyUrl = u.getAvatar();
|
||||
mApplyNmae = u.getUserNiceName();
|
||||
if (by != 1) {
|
||||
Log.e("ry", "1"+u.getUserNiceName() + "单人收到" + u.getAvatar());
|
||||
if (mIsApplyDialogShow == false) {
|
||||
if (u.isRandomPk()) {
|
||||
Log.e("ry", "2"+u.getUserNiceName() + "单人收到" + u.getAvatar());
|
||||
showPkDialog(u);
|
||||
} else {
|
||||
Log.e("ry", "3"+u.getUserNiceName() + "单人收到" + u.getAvatar());
|
||||
showApplyDialog(u);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Log.e("ry", "4"+u.getUserNiceName() + "单人收到" + u.getAvatar());
|
||||
isPK(u);
|
||||
}
|
||||
}
|
||||
@ -683,6 +687,7 @@ public class LiveSwLinkMicPkPresenter implements View.OnClickListener {
|
||||
} else {
|
||||
if (mPkWaitCount < 0) {
|
||||
if(rtcRoom==null){
|
||||
mIsApplyDialogShow = false;
|
||||
return;
|
||||
}
|
||||
rtcRoom.getLocalUser().responseJoinOtherRoom(u.getId(), u.getId(), false, false, "extra", new IRCRTCResultCallback() {
|
||||
|
Loading…
Reference in New Issue
Block a user