Commit 521bcfc3 authored by wanglei's avatar wanglei

...

parent 6f5d2e91
......@@ -152,6 +152,9 @@ object AdMaxInterstitialUtils {
fun loadInterstitialAd(activity: Activity) {
setListener(activity)
if (!AdDisplayUtils.getInstance().shouldShowAd()) {
return
}
if (AdMaxInit.isAdMaxInit.get()) {
LogEx.logDebug(TAG, "loadInterstitialAd")
interstitialAd?.loadAd()
......
......@@ -129,7 +129,6 @@ object AdMaxOpenUtils {
setListener(activity)
if (!AdDisplayUtils.getInstance().shouldShowAd()) {
LogEx.logDebug(TAG, "!shouldShowAd")
onHidden?.invoke()
return
}
......
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