Commit 77744e74 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 3ff4e0a4
...@@ -166,6 +166,9 @@ public class InterstitialGroManager { ...@@ -166,6 +166,9 @@ public class InterstitialGroManager {
vo.put("adid", interstitialId); vo.put("adid", interstitialId);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
} else { } else {
if (this.wifiAdStatusListener != null) {
this.wifiAdStatusListener.adFail();
}
// 当加载到广告后 ,长时间未展示失效时 改变状态 // 当加载到广告后 ,长时间未展示失效时 改变状态
isLoadSuccess = false; isLoadSuccess = false;
} }
......
...@@ -98,7 +98,7 @@ class WifiAdManager private constructor() { ...@@ -98,7 +98,7 @@ class WifiAdManager private constructor() {
interstitialGroManager?.onDestroy() interstitialGroManager?.onDestroy()
} }
interstitialGroManager = InterstitialGroManager() interstitialGroManager = InterstitialGroManager()
interstitialGroManager?.setWifiAdStatusListener(wifiAdStatusListener) // interstitialGroManager?.setWifiAdStatusListener(wifiAdStatusListener)
interstitialGroManager?.loadInsertScreenAd(activity, isMain) interstitialGroManager?.loadInsertScreenAd(activity, isMain)
} }
...@@ -110,7 +110,7 @@ class WifiAdManager private constructor() { ...@@ -110,7 +110,7 @@ class WifiAdManager private constructor() {
fullGroManager?.onDestroy() fullGroManager?.onDestroy()
} }
fullGroManager = FullGroManager() fullGroManager = FullGroManager()
fullGroManager?.setWifiAdStatusListener(wifiAdStatusListener) // fullGroManager?.setWifiAdStatusListener(wifiAdStatusListener)
fullGroManager?.loadFullAd(activity, isMain) fullGroManager?.loadFullAd(activity, isMain)
} }
......
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