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); } } + }); + }