Solve fingerprint null pointer exception issue

This commit is contained in:
J-Jamet
2018-02-02 15:47:43 +01:00
parent 8f8361a176
commit 32fb536a92

View File

@@ -269,8 +269,10 @@ public class FingerPrintHelper {
} catch (KeyStoreException
| CertificateException
| NoSuchAlgorithmException
| IOException e) {
fingerPrintCallback.onFingerPrintException(e);
| IOException
| NullPointerException e) {
if (fingerPrintCallback != null)
fingerPrintCallback.onFingerPrintException(e);
}
}