Adjust app lock mechanism (#7924)

Now uses enum to also handle timed lock
This commit is contained in:
Ivan Iskandar
2022-09-02 22:48:48 +07:00
committed by GitHub
parent ff4a217730
commit 774a87a42a
4 changed files with 54 additions and 11 deletions
@@ -37,7 +37,7 @@ class UnlockActivity : BaseActivity() {
result: BiometricPrompt.AuthenticationResult,
) {
super.onAuthenticationSucceeded(activity, result)
SecureActivityDelegate.locked = false
SecureActivityDelegate.unlock()
finish()
}
},