Commit f45689a8 authored by wanglei's avatar wanglei

...

parent a6f3fd3b
......@@ -30,7 +30,7 @@
<activity
android:name=".activity.SplashActivity"
android:exported="true"
android:launchMode="singleTop"
android:launchMode="singleTask"
android:theme="@style/splash.theme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
......
......@@ -94,6 +94,7 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>() {
Log.d(TAG, "max init suc")
AdMaxOpenUtils.loadAppOpenAd(this)
AdMaxInterstitialUtils.loadInterstitialAd(this)
maxInitAction = null
}
}
job = startProgress()
......
......@@ -77,7 +77,9 @@ object AdmobMaxHelper {
}
}
} else {
BaseApplication.context.initAdMax()
if (!isAdInit.get()) {
BaseApplication.context.initAdMax()
}
}
}
......
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