Skip to content

Fix authentication callback nullability issues#6

Merged
FlowMo7 merged 2 commits intomasterfrom
fix/authentication_callback_nullability
Sep 19, 2019
Merged

Fix authentication callback nullability issues#6
FlowMo7 merged 2 commits intomasterfrom
fix/authentication_callback_nullability

Conversation

@FlowMo7
Copy link
Copy Markdown
Member

@FlowMo7 FlowMo7 commented Sep 19, 2019

The methods of the FingerprintManager.AuthenticationCallback and BiometricPrompt.AuthenticationCallback classes do not have nullability annotations / markers on them, and the CharSequence parameters have been treated as non-nullable.

Turns out, on some devices in some situations the CharSequence parameter passed can be null.

This PR fixes the implicit non-null force for the parameter and passes along an empty string in that case.

@FlowMo7 FlowMo7 merged commit bb95584 into master Sep 19, 2019
@FlowMo7 FlowMo7 deleted the fix/authentication_callback_nullability branch September 19, 2019 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant