diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-03 18:43:34 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-03 18:43:34 +0100 |
| commit | bf58bcfd32160f55b5fb28cde15a93691e624da5 (patch) | |
| tree | 4075585c114e1fc3e3bb1008675fa6e9761474f9 /buildSrc/src/main/java | |
| parent | d6b0c910e065fd51481eea1ab5819d7c8f57438e (diff) | |
| download | HardenedPass-bf58bcfd32160f55b5fb28cde15a93691e624da5.tar.gz HardenedPass-bf58bcfd32160f55b5fb28cde15a93691e624da5.zip | |
fix(app): end the screen lock prompt on sensor errors
BiometricAuthenticator mapped onAuthenticationError(ERROR_UNABLE_TO_PROCESS)
to Retry, but an error callback always closes the prompt. The settings
screen keeps its one-prompt-at-a-time guard set on Retry, so the gated
switches stayed locked until the section was left. The error now maps to
Failure; Retry comes only from onAuthenticationFailed, while the prompt is
still open.
Once the device screen lock is removed, the biometric app lock could not
be turned off: the prompt returns HardwareUnavailableOrDisabled and nothing
was written. Turning it off without a usable screen lock now writes the
value directly, as the passphrase cache row already does.
The settings category rows and PreferenceAction rows get Role.Button for
accessibility services.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'buildSrc/src/main/java')
0 files changed, 0 insertions, 0 deletions
