From 55ff7a1649efacee1a76cd4408ab03be22037551 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Fri, 18 Nov 2022 17:43:27 +0800 Subject: [PATCH] 6.4.5 306 --- config.gradle | 6 ++--- .../live/activity/WebViewActivityMedal.java | 22 +++++-------------- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/config.gradle b/config.gradle index c7985d37c..da6a4d297 100644 --- a/config.gradle +++ b/config.gradle @@ -4,8 +4,8 @@ ext { buildToolsVersion: "28.0.3", minSdkVersion : 21, targetSdkVersion : 31, - versionCode : 305, - versionName : "6.4.4" + versionCode : 306, + versionName : "6.4.5" ] manifestPlaceholders = [ //正式 @@ -27,6 +27,6 @@ ext { // true表示谷歌支付 false isGooglePlay : true, //是否上报异常日志 - isUploadLog : false + isUploadLog : true ] } \ No newline at end of file diff --git a/live/src/main/java/com/yunbao/live/activity/WebViewActivityMedal.java b/live/src/main/java/com/yunbao/live/activity/WebViewActivityMedal.java index 880ac0262..b4291c799 100644 --- a/live/src/main/java/com/yunbao/live/activity/WebViewActivityMedal.java +++ b/live/src/main/java/com/yunbao/live/activity/WebViewActivityMedal.java @@ -161,31 +161,21 @@ public class WebViewActivityMedal extends AbsActivity { private LiveRoomCheckLivePresenter mCheckLivePresenter; private void gotoLive(final String live_id) { - LiveHttpUtil.getLiveInfo(live_id, new HttpCallback() { + LiveHttpUtil.getLiveInfo(live_id + "", new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0 && info.length > 0) { LiveBean liveBean = JSON.parseObject(info[0], LiveBean.class); - if (mCheckLivePresenter == null) { - mCheckLivePresenter = new LiveRoomCheckLivePresenter(mContext, new LiveRoomCheckLivePresenter.ActionListener() { - @Override - public void onLiveRoomChanged(LiveBean liveBean, int liveType, int liveTypeVal, int liveSdk) { - if (liveBean == null) { - return; - } - - LiveAudienceActivity.forward(mContext, liveBean, liveType, liveTypeVal, "", 0, liveSdk); - - } - }); - } - mCheckLivePresenter.checkLive(liveBean); + LiveAudienceActivity.forward(mContext, liveBean, 0, 0, "", 0, 0); } else { - RouteUtil.forwardUserHome(mContext, live_id, 0); + + RouteUtil.forwardUserHome(mContext, String.valueOf(live_id), 0); } } + }); + }