fix[声望升级-修复BUG]
This commit is contained in:
parent
0252963b2e
commit
9711b1f8d4
@ -21,10 +21,10 @@ org.gradle.configureondemand=true
|
|||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
|
|
||||||
systemProp.http.proxyHost=127.0.0.1
|
#systemProp.http.proxyHost=127.0.0.1
|
||||||
systemProp.https.proxyHost=127.0.0.1
|
#systemProp.https.proxyHost=127.0.0.1
|
||||||
systemProp.https.proxyPort=10809
|
#systemProp.https.proxyPort=10809
|
||||||
systemProp.http.proxyPort=10809
|
#systemProp.http.proxyPort=10809
|
||||||
|
|
||||||
|
|
||||||
#android.enableR8.fullMode=true
|
#android.enableR8.fullMode=true
|
@ -187,7 +187,6 @@ public class LiveAudienceActivity extends LiveActivity {
|
|||||||
private boolean liveIndex = true;
|
private boolean liveIndex = true;
|
||||||
private boolean isPk = false;
|
private boolean isPk = false;
|
||||||
private boolean isRadPacetModle = false;
|
private boolean isRadPacetModle = false;
|
||||||
public boolean isSw;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <T extends View> T findViewById(@IdRes int id) {
|
public <T extends View> T findViewById(@IdRes int id) {
|
||||||
|
@ -733,12 +733,13 @@ public class LivePlaySwViewHolder extends LiveRoomPlayViewHolder {
|
|||||||
mCover.setVisibility(View.VISIBLE);
|
mCover.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
swAuManager.exitChannelAll();
|
||||||
stopPlay2();
|
stopPlay2();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void stopPlay2() {
|
public void stopPlay2() {
|
||||||
|
drMicUserList = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -130,7 +130,9 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder {
|
|||||||
btn_start_dr_pk.setOnClickListener(new View.OnClickListener() {
|
btn_start_dr_pk.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
if (pk_nub <= 0) return;
|
if(pk_nub<= 0){
|
||||||
|
ToastUtil.show("多人PK次数已用完");
|
||||||
|
}else{
|
||||||
//開始多人PK
|
//開始多人PK
|
||||||
HttpClient.getInstance().get("live.startDRPK", "live.startDRPK")
|
HttpClient.getInstance().get("live.startDRPK", "live.startDRPK")
|
||||||
.params("roomid", CommonAppConfig.getInstance().getUid())
|
.params("roomid", CommonAppConfig.getInstance().getUid())
|
||||||
@ -147,6 +149,7 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//结束多人PK
|
//结束多人PK
|
||||||
|
@ -983,6 +983,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
mLiveRyLinkMicPkPresenter.release();
|
mLiveRyLinkMicPkPresenter.release();
|
||||||
mLiveRyLinkMicPkPresenter = null;
|
mLiveRyLinkMicPkPresenter = null;
|
||||||
}
|
}
|
||||||
|
if(mLivePlayViewHolder!=null){
|
||||||
|
mLivePlayViewHolder.stopPlay2();
|
||||||
|
}
|
||||||
if (mLiveEndViewHolder != null) {
|
if (mLiveEndViewHolder != null) {
|
||||||
removeLiveEnd();
|
removeLiveEnd();
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/dr_pk_view"
|
android:id="@+id/dr_pk_view"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="300dp"
|
android:layout_height="270dp"
|
||||||
android:layout_marginTop="130dp"
|
android:layout_marginTop="130dp"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:visibility="gone">
|
android:visibility="gone">
|
||||||
|
Loading…
Reference in New Issue
Block a user