Преглед на файлове

[修改]修复VIP到期提醒在无弹窗广告情况不展示的BUG

zeki преди 5 години
родител
ревизия
2b40f30260

+ 3 - 1
app/build.gradle

@@ -38,7 +38,6 @@ android {
             v1SigningEnabled true
             v2SigningEnabled false
         }
-
     }
 
     lintOptions {
@@ -50,10 +49,12 @@ android {
         preDexLibraries = false
         javaMaxHeapSize "4g"
     }
+
     packagingOptions {
         exclude 'META-INF/services/com.fasterxml.jackson.core.JsonFactory'
         exclude "**/module-info.class"
     }
+
     buildTypes {
         release {
             minifyEnabled true
@@ -64,6 +65,7 @@ android {
             signingConfig signingConfigs.config
         }
     }
+
     productFlavors.all { flavor ->
         flavor.manifestPlaceholders = [DUANDUAN_GRAPH    : "${flavor.name}",
                                        DUANDUAN_DATASHARE: "${flavor.name}",

+ 2 - 0
app/src/main/java/com/sheep/gamegroup/util/Jump2View.java

@@ -1649,6 +1649,8 @@ public class Jump2View {
                                     EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.GUIDE_SWITCH_HOME));
                                     tryShowYfShopAskDialog(activity);
                                 }
+                                //查询VIp
+                                EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.CHECK_VIP));
                             }
                         }));
     }

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/util/ViewUtil.java

@@ -1870,7 +1870,7 @@ public class ViewUtil {
                     aCache.put(advertising.getAd_img(), String.format(Locale.CHINA, "%d;%d", dialog_center_ll.getWidth(), dialog_center_ll.getHeight()));
                     Jump2View.getInstance().tryShowYfShopAskDialog(activity);
                     EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.GUIDE_SWITCH_HOME));
-                    EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.CHECK_VIP));
+
                 }
             });
             setVisibility(ad_flag, advertising.getUser_type() == 2);

+ 0 - 1
app/src/main/java/com/sheep/gamegroup/view/activity/SplashAct.java

@@ -71,7 +71,6 @@ public class SplashAct extends BaseActivity {
         // doNothing
     }
 
-
     @BindView(R.id.fl_root)
     FrameLayout zk_root;
     @BindView(R.id.fv_splash_yt)