add lock timer poup to dismiss lock

This commit is contained in:
2026-05-15 03:36:20 +05:00
parent 246ebf0196
commit 97ab31301e
4 changed files with 65 additions and 3 deletions
@@ -186,6 +186,11 @@ class SecuritySetupFragment : Fragment() {
}
private fun goToBiometricOrFinish() {
// In change mode, biometrics is managed from Settings — skip this step
if (arguments?.getBoolean(ARG_CHANGE_MODE, false) == true) {
finishSetup()
return
}
val canAuth = BiometricManager.from(requireContext())
.canAuthenticate(BiometricManager.Authenticators.BIOMETRIC_WEAK)
if (canAuth == BiometricManager.BIOMETRIC_SUCCESS) {