Skip to content

Commit

Permalink
Fixed issue #689: Lateinit property appOpenAdManager has not been ass…
Browse files Browse the repository at this point in the history
…igned
  • Loading branch information
halls committed Jul 1, 2024
1 parent a0a8940 commit d3bcea5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class MyApplication :
private lateinit var appOpenAdManager: AppOpenAdManager
private var currentActivity: Activity? = null

override fun onCreate(owner: LifecycleOwner) {
super<DefaultLifecycleObserver>.onCreate(owner)
override fun onCreate() {
super<MultiDexApplication>.onCreate()
registerActivityLifecycleCallbacks(this)

ProcessLifecycleOwner.get().lifecycle.addObserver(this)
Expand Down

0 comments on commit d3bcea5

Please sign in to comment.