Commit c1fae1c2 authored by mengcuiguang's avatar mengcuiguang

限制枫岚

parent 8a54e780
...@@ -9,8 +9,8 @@ android { ...@@ -9,8 +9,8 @@ android {
applicationId "com.wenshu.youyou" applicationId "com.wenshu.youyou"
minSdkVersion rootProject.ext.androidMinSdkVersion minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 5 versionCode 6
versionName "1.0.5" versionName "1.0.6"
flavorDimensions "default" flavorDimensions "default"
// dex突破65535的限制 // dex突破65535的限制
......
...@@ -339,14 +339,20 @@ public class VideoAdingManager { ...@@ -339,14 +339,20 @@ public class VideoAdingManager {
*/ */
public boolean getVideoFinishFlag() { public boolean getVideoFinishFlag() {
int csjVideoAdCount = AppConfig.csjVideoAdCount; int csjVideoAdCount = AppConfig.csjVideoAdCount;
int csjFullVedioAdCount = AppConfig.csjFullVedioAdCount;
int ylhAdCount = AppConfig.ylhAdCount; int ylhAdCount = AppConfig.ylhAdCount;
int wnAdCount = AppConfig.wnVideoAdCount; int wnAdCount = AppConfig.wnVideoAdCount;
int ksVideoAdCount = AppConfig.ksVideoAdCount; int flVideoAdCount = AppConfig.flVideoAdCount;
int tzVideoAdCount = AppConfig.shVideoAdCount; int tzVideoAdCount = AppConfig.shVideoAdCount;
int ksVideoAdCount = AppConfig.ksVideoAdCount;
int csjFullVedioAdCount = AppConfig.csjFullVedioAdCount;
if (ylhAdCount <= 0 && csjVideoAdCount <= 0 && wnAdCount <= 0 if (ylhAdCount <= 0 &&
&& csjFullVedioAdCount <= 0 && ksVideoAdCount <= 0 && tzVideoAdCount <= 0) { csjVideoAdCount <= 0 &&
wnAdCount <= 0 &&
flVideoAdCount <= 0 &&
tzVideoAdCount <= 0 &&
csjFullVedioAdCount <= 0 &&
ksVideoAdCount <= 0) {
// showToast("今日视频已看完,请明天再来吧"); // showToast("今日视频已看完,请明天再来吧");
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment