增加PK日志
This commit is contained in:
parent
5573c5d96b
commit
a27d033dc6
@ -1889,6 +1889,7 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V
|
||||
mHandler.sendEmptyMessageAtTime(WHAT_PK_TIME2, getNextSecondTime());
|
||||
}
|
||||
} else {
|
||||
L.eSw("PK时间已到 DRPKing = " + DRPKing + " mPkTimeCount:" + mPkTimeCount);
|
||||
if (DRPKing != -1) {
|
||||
mLiveAnchorViewHolder.showEndPkBt();
|
||||
}
|
||||
|
@ -357,7 +357,7 @@ public class SocketSwClient {
|
||||
// break;
|
||||
case Constants.SOCKET_LIVE_DRPK_RANDOM:
|
||||
case Constants.SOCKET_LIVE_DRPK://多人PK
|
||||
L.eSw("map" + new Gson().toJson(map));
|
||||
L.eSw("多人PK map" + new Gson().toJson(map));
|
||||
int action3 = map.getIntValue("action");
|
||||
//收到多人PK邀请
|
||||
if (action3 == 1) {
|
||||
@ -387,6 +387,8 @@ public class SocketSwClient {
|
||||
DRPKing = 1;
|
||||
} else if (action3 == 5) {//结束PK
|
||||
// endDRGif();
|
||||
|
||||
L.eSw("PK结束");
|
||||
LiveRoomViewHolder.d_pk_view.setVisibility(View.GONE);
|
||||
if (LiveSwAnchorActivity.mLiveAnchorViewHolder != null) {
|
||||
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT);
|
||||
|
Loading…
Reference in New Issue
Block a user