diff --git a/common/src/main/java/com/yunbao/common/bean/AiAutomaticSpeechModel.java b/common/src/main/java/com/yunbao/common/bean/AiAutomaticSpeechModel.java index e912b9ac4..33d328d42 100644 --- a/common/src/main/java/com/yunbao/common/bean/AiAutomaticSpeechModel.java +++ b/common/src/main/java/com/yunbao/common/bean/AiAutomaticSpeechModel.java @@ -30,9 +30,6 @@ public class AiAutomaticSpeechModel extends BaseModel { //气泡背景 @SerializedName("system_bubble") private String systemBubble; - @SerializedName("icon_en") - @JSONField(name = "icon_en") - private String iconEn; public String getNameColor() { return nameColor; @@ -52,15 +49,6 @@ public class AiAutomaticSpeechModel extends BaseModel { return this; } - public String getIconEn() { - return iconEn; - } - - public AiAutomaticSpeechModel setIconEn(String iconEn) { - this.iconEn = iconEn; - return this; - } - public String getContent() { return content; } diff --git a/common/src/main/java/com/yunbao/common/utils/AppManager.java b/common/src/main/java/com/yunbao/common/utils/AppManager.java index 5b271108a..f27c2815a 100644 --- a/common/src/main/java/com/yunbao/common/utils/AppManager.java +++ b/common/src/main/java/com/yunbao/common/utils/AppManager.java @@ -62,15 +62,6 @@ public class AppManager { activityStack.add(activity); } - public Activity getMainActivity() { - for (Activity activity : activityStack) { - if (activity.getClass().getSimpleName().contains("MainActivity")) { - return activity; - } - } - return null; - } - /** * 移除Activity */ diff --git a/live/src/main/java/com/yunbao/live/bean/LiveChatBean.java b/live/src/main/java/com/yunbao/live/bean/LiveChatBean.java index 689d3d344..e074fd2fa 100644 --- a/live/src/main/java/com/yunbao/live/bean/LiveChatBean.java +++ b/live/src/main/java/com/yunbao/live/bean/LiveChatBean.java @@ -60,8 +60,6 @@ public class LiveChatBean { private String giftname_en; private String toUid; - private String medal_new_en; - public int getNORMAL() { return NORMAL; } @@ -214,10 +212,6 @@ public class LiveChatBean { return medal_new_en; } - public void setMedal_new_en(String medal_new_en) { - this.medal_new_en = medal_new_en; - } - public String getHot_card() { return hot_card; } diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java index d5eea4f3f..6909894a4 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java @@ -459,7 +459,7 @@ public class LiveGiftAnimPresenter { LiveBean liveBean = JSON.parseObject(info[0], LiveBean.class); new LiveRoomCheckLivePresenter(mContext, liveBean.getUid(), liveBean.getStream(), new LiveRoomCheckLivePresenter.NewActionListener() { @Override - public void onLiveRoomChanged(String liveUid, String stream, int liveType, String liveTypeVal, String liveSdk) { + public void onLiveRoomChanged(String liveUid, String stream, int liveType, String liveTypeVal, String liveSdk,boolean isSw) { if (liveBean == null) { return; } diff --git a/main/src/main/java/com/yunbao/main/dialog/MainStartDialogFragment.java b/main/src/main/java/com/yunbao/main/dialog/MainStartDialogFragment.java index f12065e51..7c8da569f 100644 --- a/main/src/main/java/com/yunbao/main/dialog/MainStartDialogFragment.java +++ b/main/src/main/java/com/yunbao/main/dialog/MainStartDialogFragment.java @@ -22,7 +22,6 @@ import android.widget.LinearLayout; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; -import com.umeng.analytics.MobclickAgent; import com.yunbao.common.CommonAppConfig; import com.yunbao.common.CommonAppContext; import com.yunbao.common.Constants; @@ -32,6 +31,7 @@ import com.yunbao.common.http.HttpCallback; import com.yunbao.common.http.LiveHttpUtil; import com.yunbao.common.manager.IMLoginManager; import com.yunbao.common.utils.DialogUitl; +import com.yunbao.common.utils.MobclickAgent; import com.yunbao.common.utils.PluginManager; import com.yunbao.common.utils.ProcessResultUtil; import com.yunbao.common.utils.ToastUtil;