fix:修复主播开播返回不会弹出确认框

fix:修复主播点离开后,主播端没有离开遮罩图
This commit is contained in:
2022-12-13 10:28:11 +08:00
parent af91783b9f
commit 6c33ac15f8
3 changed files with 16 additions and 7 deletions

View File

@@ -38,7 +38,6 @@ public class RandomPkManager {
public static String debugUid;
private RankPkInfoBean rankPkInfoBean;//排位赛信息
Handler handler = new Handler(Looper.getMainLooper());
private boolean exitSuccess = false;
private RandomPkManager() {
getRankInfo();
@@ -130,8 +129,7 @@ public class RandomPkManager {
}
private void next() {
if (exitSuccess) {
exitSuccess = false;
if (task==null) {
return;
}
status = PK_STATUS_REQUEST;
@@ -239,7 +237,6 @@ public class RandomPkManager {
*/
private void callEndPkSuccess() {
status = PK_STATUS_DEFAULT;
exitSuccess = true;
rankPkInfoBean = null;
for (OnRandomPkTimer pkTimer : randomPkTimer) {
pkTimer.onPkEndSuccess();