Commit 4c2bf7e6 authored by wanglei's avatar wanglei

...

parent ccbf4a69
...@@ -180,10 +180,7 @@ object AdMaxInterstitialUtils { ...@@ -180,10 +180,7 @@ object AdMaxInterstitialUtils {
if (!AdDisplayUtils.getInstance().shouldShowAd("interAd")) { if (!AdDisplayUtils.getInstance().shouldShowAd("interAd")) {
return false return false
} }
if (interstitialAd?.isReady == true) {
return false
}
if (isAdInit.get()) {
LogEx.logDebug(TAG, "loadInterstitialAd") LogEx.logDebug(TAG, "loadInterstitialAd")
val reqId = UUID.randomUUID().toString() val reqId = UUID.randomUUID().toString()
val obj = JSONObject() val obj = JSONObject()
...@@ -193,10 +190,6 @@ object AdMaxInterstitialUtils { ...@@ -193,10 +190,6 @@ object AdMaxInterstitialUtils {
interstitialAd?.loadAd() interstitialAd?.loadAd()
AdDisplayUtils.getInstance().incrementAdRequestCount() AdDisplayUtils.getInstance().incrementAdRequestCount()
return true return true
} else {
EventUtils.event("isAdInit", value = "loadInterstitialAd isAdInit=${isAdInit.get()}")
}
return false
} }
......
...@@ -160,10 +160,6 @@ object AdMaxOpenUtils { ...@@ -160,10 +160,6 @@ object AdMaxOpenUtils {
LogEx.logDebug(TAG, "!shouldShowAd") LogEx.logDebug(TAG, "!shouldShowAd")
return false return false
} }
if (appOpenAd?.isReady == true) {
LogEx.logDebug(TAG, "appOpenAd?.isReady == true")
return false
}
val reqId = UUID.randomUUID().toString() val reqId = UUID.randomUUID().toString()
val obj = JSONObject() val obj = JSONObject()
......
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