@Override public void onAuthenticationError(final int error, @NonNull final CharSequence error_message) {
				if (error == BiometricPrompt.ERROR_CANCELED | error == BiometricPrompt.ERROR_NEGATIVE_BUTTON) return;
				Toast.makeText(app_context, error_message, Toast.LENGTH_LONG).show();
//				if (error == BiometricPrompt.ERROR_TIMEOUT) return;
//
//				TODO: Security confirmation with UserManager.createUserCreationIntent()
			}
Security protection based on biometric or lock-screen credentials.

Created by Oasis on 2019-1-17.
mobile/src/main/java/com/oasisfeng/island/security/SecurityPrompt.java