|
|
@ -1005,8 +1005,12 @@ public class EmailService implements AutoCloseable {
|
|
|
|
.equals(ex.getCause().getMessage())) {
|
|
|
|
.equals(ex.getCause().getMessage())) {
|
|
|
|
if (cert_strict)
|
|
|
|
if (cert_strict)
|
|
|
|
throw new CertificateException(principal.getName(), ex);
|
|
|
|
throw new CertificateException(principal.getName(), ex);
|
|
|
|
else
|
|
|
|
else {
|
|
|
|
Log.w(ex);
|
|
|
|
if (BuildConfig.PLAY_STORE_RELEASE)
|
|
|
|
|
|
|
|
Log.i(ex);
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
Log.w(ex);
|
|
|
|
|
|
|
|
}
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
throw new CertificateException(principal.getName(), ex);
|
|
|
|
throw new CertificateException(principal.getName(), ex);
|
|
|
|
}
|
|
|
|
}
|
|
|
|