Commit c94121e5 authored by jyx's avatar jyx

代码优化

parent cea99ce9
...@@ -218,6 +218,8 @@ public class VideoAdingManager { ...@@ -218,6 +218,8 @@ public class VideoAdingManager {
nextAdType = Constant.KS_VEDIO_AD; nextAdType = Constant.KS_VEDIO_AD;
} else if (AppConfig.shVideoAdCount > 0) { } else if (AppConfig.shVideoAdCount > 0) {
nextAdType = Constant.SH_VEDIO_AD; nextAdType = Constant.SH_VEDIO_AD;
} else if (AppConfig.rtaVideoAdCount > 0) {
nextAdType = Constant.RTA_VEDIO_AD;
} else { } else {
nextAdType = Constant.FL_VEDIO_AD; nextAdType = Constant.FL_VEDIO_AD;
} }
...@@ -735,12 +737,13 @@ public class VideoAdingManager { ...@@ -735,12 +737,13 @@ public class VideoAdingManager {
@Override @Override
public void adDownload() { public void adDownload() {
isVideoAdDownload = true;
} }
}); });
}
rtaVideoAdManager.loadAd(activity, bean.getCurCoin(), bean.getCarrierType(), bean.getExtraId()); rtaVideoAdManager.loadAd(activity, bean.getCurCoin(), bean.getCarrierType(), bean.getExtraId());
}
// ChannelRuleEnum channelRule = ChannelRuleEnum.match(videoAdType); // ChannelRuleEnum channelRule = ChannelRuleEnum.match(videoAdType);
// BaseVideoAd rule = channelRule.channel; // BaseVideoAd rule = channelRule.channel;
// if (rule != null) { // if (rule != null) {
......
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