The cause of the problem is the fact that BiometricPromptApi23Impl for dialog dismiss relies on OnCancelListener listener that is set on cancellationSignal object in "authenticate" and "getAuthenticateDialogForFragment" methods. The same object is passed to the fingerprintManager where the listener gets reset by FinagerpringManager. That's why we have an issue when the dialog is not dismissed after we call cancellationSignal.cancel() from outside of the Prompt.
The cause of the problem is the fact that BiometricPromptApi23Impl for dialog dismiss relies on OnCancelListener listener that is set on cancellationSignal object in "authenticate" and "getAuthenticateDialogForFragment" methods. The same object is passed to the fingerprintManager where the listener gets reset by FinagerpringManager. That's why we have an issue when the dialog is not dismissed after we call cancellationSignal.cancel() from outside of the Prompt.