Commit 378eb6e8 authored by leichao.gao's avatar leichao.gao

update

parent b85dece4
......@@ -151,6 +151,9 @@ object AdMaxInterstitialUtils {
}
fun loadInterstitialAd(activity: Activity) {
if (!AdDisplayUtils.getInstance().shouldShowAd()) {
return
}
setListener(activity)
if (AdMaxInit.isAdMaxInit.get()) {
LogEx.logDebug(TAG, "loadInterstitialAd")
......
......@@ -126,12 +126,11 @@ object AdMaxOpenUtils {
}
fun loadAppOpenAd(activity: Activity) {
setListener(activity)
if (!AdDisplayUtils.getInstance().shouldShowAd()) {
LogEx.logDebug(TAG, "!shouldShowAd")
onHidden?.invoke()
return
}
setListener(activity)
LogEx.logDebug(TAG, "loadAppOpenAd1")
if (AdMaxInit.isAdMaxInit.get()) {
......
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