修复点系统通知时弹出了画质选项框

This commit is contained in:
zlzw 2023-01-10 16:33:41 +08:00
parent 3606815a41
commit 418d306d72
2 changed files with 10 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class CustomDrawerPopupView extends DrawerPopupView {
public void onViewClicks() { public void onViewClicks() {
dismiss(); dismiss();
if (callBack != null) { if (callBack != null) {
callBack.systemNotice(); callBack.changeVideo();
} }
@ -198,6 +198,8 @@ public class CustomDrawerPopupView extends DrawerPopupView {
void systemNotice(); void systemNotice();
void changeVideo();
void online(); void online();
void reportLayout(); void reportLayout();

View File

@ -877,6 +877,13 @@ public class LiveAudienceActivity extends LiveActivity {
@Override @Override
public void systemNotice() { public void systemNotice() {
Bus.get().post(new LiveAudienceEvent()
.setBean(mLiveBean)
.setType(LiveAudienceEvent.LiveAudienceType.NOTICE));
}
@Override
public void changeVideo() {
Bus.get().post(new LiveAudienceEvent() Bus.get().post(new LiveAudienceEvent()
.setBean(mLiveBean) .setBean(mLiveBean)
.setType(LiveAudienceEvent.LiveAudienceType.LIVE_VIDEO)); .setType(LiveAudienceEvent.LiveAudienceType.LIVE_VIDEO));