Show message for recoverable error encountered during authentication (#343)

This commit is contained in:
0140454 2018-07-30 16:25:42 +08:00 committed by m2049r
parent dc95539fc1
commit 1b0ac1c481
1 changed files with 6 additions and 0 deletions

View File

@ -508,6 +508,12 @@ public class Helper {
tvOpenPrompt.setText(errString);
}
@Override
public void onAuthenticationHelp(int helpMsgId, CharSequence helpString) {
tvOpenPrompt.setCompoundDrawablesRelativeWithIntrinsicBounds(icError, null, null, null);
tvOpenPrompt.setText(helpString);
}
@Override
public void onAuthenticationSucceeded(FingerprintManager.AuthenticationResult result) {
try {