浏览代码

修复主页没有检查更新的问题

zengjiebin 7 年之前
父节点
当前提交
e8fa636aca
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/src/main/java/com/sheep/gamegroup/view/activity/ActMain.java

+ 2 - 1
app/src/main/java/com/sheep/gamegroup/view/activity/ActMain.java

@@ -31,6 +31,7 @@ import com.sheep.gamegroup.util.DownloadUtil;
 import com.sheep.gamegroup.util.Jump2View;
 import com.sheep.gamegroup.util.ListUtil;
 import com.sheep.gamegroup.util.MainTab;
+import com.sheep.gamegroup.util.SysAppUtil;
 import com.sheep.gamegroup.util.TestUtil;
 import com.sheep.gamegroup.util.UMConfigUtils;
 import com.sheep.gamegroup.util.ViewUtil;
@@ -345,7 +346,7 @@ public class ActMain extends BaseActYmPermissionCheck {
             }
         } else {
             if (onResumeCount == 0 && !TestUtil.isDev()) {
-                Jump2View.getInstance().tryShowHalfScreenAd(ActMain.this, getContainer());
+                SysAppUtil.showVersionInfo(this, SpUtils.getIgnoreMd5(), integer -> Jump2View.getInstance().tryShowHalfScreenAd(ActMain.this, getContainer()));
             }
         }
         onResumeCount++;