Fix always-on app lock on cold start (#8018)

This commit is contained in:
Ivan Iskandar
2022-09-16 19:34:46 +07:00
committed by GitHub
parent 4ea512f6c2
commit ec30026333
2 changed files with 13 additions and 0 deletions

View File

@@ -172,6 +172,10 @@ class App : Application(), DefaultLifecycleObserver, ImageLoaderFactory {
}.build()
}
override fun onCreate(owner: LifecycleOwner) {
SecureActivityDelegate.onApplicationCreated()
}
override fun onStop(owner: LifecycleOwner) {
SecureActivityDelegate.onApplicationStopped()
}