-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isCancelled should be set to true as a initial value #15
Comments
Not really sure what you're asking here. |
Thanks for your answer. |
@jariz Is there a reason why you use the boolean isCancelled instead of cancellationSignal.isCanceled()? |
Thought I would quickly mention that I had to make a small change in order to get cancellation to work consistently. Line 147 of FingerprintModule.java sometimes gets executed, throwing a "this shouldn't happen" AssertionError. This is because |
@jariz |
@WeIio He gave you a good solution to the problem that you were describing. |
@nathan-k |
@WeIio Ok, I see your point. I don't see the behavior that you describe in the docs for FingerprintManagerCompat, which is probably why it's not in this package:
|
@nathan-k @WeIio |
i find this probleme |
Thanks for your share firstly.
Before start authenticate every time, we should check the FingerPrint whether is started, if yes, cancel it. So if do cancel when FingerPrint is not started, we will get an error.
In general, the status of service should always be cleared or closed before service is started.
is it right?
The text was updated successfully, but these errors were encountered: