Commit 3b86a9fa authored by wanglei's avatar wanglei

...

parent eb845434
......@@ -94,8 +94,10 @@ class MyApplication : BaseApplication() {
if (flag) {
if (AdmobOpenUtils.isOpenAdLoaded()) {
LogEx.logDebug(TAG, "展示广告")
AdmobOpenUtils.showAppOpenAd(activity)
} else {
LogEx.logDebug(TAG, "跳转启动页")
topActivity?.startActivity(
Intent(
topActivity,
......
......@@ -21,6 +21,7 @@ abstract class BaseActivity<T : ViewBinding> : AppCompatActivity() {
launcher = ActivityLauncher(this)
setContentView(binding.root)
ActivityManagerUtils.getInstance().addActivity(this)
initView()
initListener()
}
......
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