Commit 3ddf99ac authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 17b57d6f
...@@ -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;
if (ylhAdCount <= 0 && csjVideoAdCount <= 0 && wnAdCount <= 0 int csjFullVideoAdCount = AppConfig.csjFullVedioAdCount;
&& csjFullVedioAdCount <= 0 && ksVideoAdCount <= 0 && tzVideoAdCount <= 0) {
if (ylhAdCount <= 0 &&
csjVideoAdCount <= 0 &&
wnAdCount <= 0 &&
flVideoAdCount <= 0 &&
tzVideoAdCount <= 0 &&
csjFullVideoAdCount <= 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