Added negativeButtonText, which crashes when DEVICE_CREDENTIALS is set, and which crashes if missing and DEVICE_CREDENTIALS is not set
This commit is contained in:
parent
607eb4c2f5
commit
41c2b89c34
|
@ -52,7 +52,7 @@ class BiometricAuthenticationService(
|
|||
val promptInfo = BiometricPrompt.PromptInfo.Builder()
|
||||
.setTitle(this.activity.getString(R.string.activity_login_authenticate_with_biometrics_prompt))
|
||||
//.setSubtitle() // TODO: add subtitle?
|
||||
//.setNegativeButtonText(this.activity.getString(android.R.string.cancel)) // is not allowed when device credentials are allowed
|
||||
.setNegativeButtonText(this.activity.getString(android.R.string.cancel)) // is not allowed when device credentials are allowed
|
||||
.setAllowedAuthenticators(allowedAuthenticators)
|
||||
.build()
|
||||
|
||||
|
|
Loading…
Reference in New Issue