X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/9da82f797e2f5cef8ad84d078c1193f4823b9a36..a20681b06320824a80f6da1e86c1c2d52a371636:/src/eu/alefzero/owncloud/authenticator/ConnectionCheckerRunnable.java diff --git a/src/eu/alefzero/owncloud/authenticator/ConnectionCheckerRunnable.java b/src/eu/alefzero/owncloud/authenticator/ConnectionCheckerRunnable.java index 4e178849..119b2422 100644 --- a/src/eu/alefzero/owncloud/authenticator/ConnectionCheckerRunnable.java +++ b/src/eu/alefzero/owncloud/authenticator/ConnectionCheckerRunnable.java @@ -73,13 +73,13 @@ public class ConnectionCheckerRunnable implements Runnable { return; } if (mUrl.startsWith("http://") || mUrl.startsWith("https://")) { - mLatestResult = ResultType.OK; + mLatestResult = (mUrl.startsWith("https://"))? ResultType.OK_SSL : ResultType.OK_NO_SSL; tryConnection(Uri.parse(mUrl + AccountUtils.STATUS_PATH)); postResult(mLatestResult); } else { Uri uri = Uri.parse("https://" + mUrl + AccountUtils.STATUS_PATH); if (tryConnection(uri)) { - postResult(ResultType.OK); + postResult(ResultType.OK_SSL); return; } Log.d(TAG,