Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

BiometricAuthenticator: fix multiple regressions from AndroidX update #1045

Merged
merged 1 commit into from
Aug 23, 2020
Merged

Conversation

msfjarvis
Copy link
Member

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates

📜 Description

Reconfigure BiometricAuthenticator to bring back the correct set of authentication parameters and fix #1044.

💡 Motivation and Context

During the AndroidX updates from #1039 I misinterpreted the BiometricManager.Authenticators javadoc and caused
the dialog to only use device credential authentication, which in itself is a problem, and also caused the dialog
to consistently crash. While at it I took some liberty to move things around for readability.

💚 How did you test it?

Verify biometric authentication can be enabled and used with both strong biometrics and device credentials without
crashing.

📝 Checklist

  • I formatted the code with the IDE's reformat action (Ctrl + Shift + L/Cmd + Shift + L)
  • I reviewed submitted code
  • I added a CHANGELOG entry if applicable

🔮 Next steps

📸 Screenshots / GIFs

Fixes: 80e43e5 ("Update dependencies (#1039)")
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
@msfjarvis msfjarvis added this to the 1.12.0 milestone Aug 23, 2020
@msfjarvis msfjarvis merged commit 2414c48 into android-password-store:develop Aug 23, 2020
@msfjarvis msfjarvis deleted the biometric-crash branch August 23, 2020 11:12
msfjarvis added a commit that referenced this pull request Aug 23, 2020
* develop:
  BiometricAuthenticator: also allow Class 2 biometric implementations (#1046)
  BiometricAuthenticator: fix multiple regressions from AndroidX update (#1045)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Crash on startup due to biometric authentication
2 participants