Fix app lock and make delay not survive app being killed (#8272)

* Fix app lock

* Always require unlock if app is killed
This commit is contained in:
stevenyomi
2022-10-23 03:07:44 +08:00
committed by GitHub
parent 4a244a598b
commit 2ab744c525
3 changed files with 37 additions and 69 deletions

View File

@@ -169,8 +169,8 @@ class App : Application(), DefaultLifecycleObserver, ImageLoaderFactory {
}.build()
}
override fun onCreate(owner: LifecycleOwner) {
SecureActivityDelegate.onApplicationCreated()
override fun onStart(owner: LifecycleOwner) {
SecureActivityDelegate.onApplicationStart()
}
override fun onStop(owner: LifecycleOwner) {