From 54693c0d3794fa52a09b9ac9a3b0d605f330a4a9 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Mon, 15 Jan 2024 13:33:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=90=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E6=88=98=E4=BB=A4=E6=9C=AA=E5=88=B7=E6=96=B0=E9=92=BB=E7=9F=B3?= =?UTF-8?q?=E4=BD=99=E9=A2=9D=E3=80=91=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yunbao/common/dialog/LiberalBattlePassPopupWindow.java | 2 ++ .../java/com/shayu/lib_google/utils/GoogleBillingManage.java | 4 ---- .../com/yunbao/main/fragment/BattlePassMissionFragment.java | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/common/src/main/java/com/yunbao/common/dialog/LiberalBattlePassPopupWindow.java b/common/src/main/java/com/yunbao/common/dialog/LiberalBattlePassPopupWindow.java index dd57c1503..d01dc42a7 100644 --- a/common/src/main/java/com/yunbao/common/dialog/LiberalBattlePassPopupWindow.java +++ b/common/src/main/java/com/yunbao/common/dialog/LiberalBattlePassPopupWindow.java @@ -14,6 +14,7 @@ import com.yunbao.common.R; import com.yunbao.common.http.ResponseModel; import com.yunbao.common.http.base.HttpCallback; import com.yunbao.common.http.live.LiveNetManager; +import com.yunbao.common.manager.IMLoginManager; import com.yunbao.common.utils.WordUtil; import com.yunbao.common.views.weight.ViewClicksAntiShake; @@ -75,6 +76,7 @@ public class LiberalBattlePassPopupWindow extends CenterPopupView { if (mPassCallback != null) { mPassCallback.onCallback(data.getData().getCode(), data.getData().getMsg()); } + IMLoginManager.get(getContext()).upDataUserInfo(); } @Override diff --git a/lib_google/src/main/java/com/shayu/lib_google/utils/GoogleBillingManage.java b/lib_google/src/main/java/com/shayu/lib_google/utils/GoogleBillingManage.java index 492603269..0ba4267aa 100644 --- a/lib_google/src/main/java/com/shayu/lib_google/utils/GoogleBillingManage.java +++ b/lib_google/src/main/java/com/shayu/lib_google/utils/GoogleBillingManage.java @@ -204,10 +204,6 @@ public class GoogleBillingManage implements PurchasesUpdatedListener { } } - public boolean getGoogleService() { - int code = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(mContext); - return code == 0; - } int resultCode = -1; String resultToken = ""; diff --git a/main/src/main/java/com/yunbao/main/fragment/BattlePassMissionFragment.java b/main/src/main/java/com/yunbao/main/fragment/BattlePassMissionFragment.java index 781b51200..bfa6b0d28 100644 --- a/main/src/main/java/com/yunbao/main/fragment/BattlePassMissionFragment.java +++ b/main/src/main/java/com/yunbao/main/fragment/BattlePassMissionFragment.java @@ -78,7 +78,6 @@ public class BattlePassMissionFragment extends BaseFragment { return; } long maxExp=userInfoBean.getMaxLevelExp() - userInfoBean.getBattlePassExp(); - ToastUtil.showDebug("max = "+maxExp+"|"+userInfoBean.getNextLevelExp()); new XPopup.Builder(getContext()) .enableDrag(false)