修复一处闪退问题

This commit is contained in:
zlzw 2022-10-22 15:00:21 +08:00
parent 3be5f8b0cd
commit ed97955d90

View File

@ -437,7 +437,7 @@ public class MyWebViewActivity extends AbsActivity {
if (LiveRoomViewHolder.mHandler != null) { if (LiveRoomViewHolder.mHandler != null) {
LiveRoomViewHolder.mHandler.removeCallbacksAndMessages(null); LiveRoomViewHolder.mHandler.removeCallbacksAndMessages(null);
} }
if (!"".endsWith(Constants.mStream)) { if (!"".equals(Constants.mStream)) {
finish(); finish();
EventBus.getDefault().post(new LiveRoomChangeEvent(liveBean, liveType, liveTypeVal)); EventBus.getDefault().post(new LiveRoomChangeEvent(liveBean, liveType, liveTypeVal));
} else { } else {