X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/7958161d252a64d8efae054396994a31633cc779..f2320691b3b5918559ece222e80926dd4e119ddd:/src/com/owncloud/android/authentication/AuthenticatorActivity.java diff --git a/src/com/owncloud/android/authentication/AuthenticatorActivity.java b/src/com/owncloud/android/authentication/AuthenticatorActivity.java index fccd6154..91ff58fa 100644 --- a/src/com/owncloud/android/authentication/AuthenticatorActivity.java +++ b/src/com/owncloud/android/authentication/AuthenticatorActivity.java @@ -840,15 +840,14 @@ SsoWebViewClientListener, OnSslUntrustedCertListener { /// test credentials accessing the root folder String remotePath =""; boolean successIfAbsent = false; - boolean followRedirects = true; startExistenceCheckRemoteOperation( - remotePath, this, successIfAbsent, username, password, followRedirects); + remotePath, this, successIfAbsent, username, password); } private void startExistenceCheckRemoteOperation( String remotePath, Context context, boolean successIfAbsent, - String username, String password, boolean followRedirects) { + String username, String password) { Intent existenceCheckIntent = new Intent(); existenceCheckIntent.setAction(OperationsService.ACTION_EXISTENCE_CHECK); existenceCheckIntent.putExtra(OperationsService.EXTRA_SERVER_URL, mServerInfo.mBaseUrl); @@ -857,7 +856,6 @@ SsoWebViewClientListener, OnSslUntrustedCertListener { existenceCheckIntent.putExtra(OperationsService.EXTRA_USERNAME, username); existenceCheckIntent.putExtra(OperationsService.EXTRA_PASSWORD, password); existenceCheckIntent.putExtra(OperationsService.EXTRA_AUTH_TOKEN, mAuthToken); - existenceCheckIntent.putExtra(OperationsService.EXTRA_FOLLOW_REDIRECTS, followRedirects); if (mOperationsServiceBinder != null) { //Log_OC.wtf(TAG, "starting existenceCheckRemoteOperation..." ); @@ -905,9 +903,8 @@ SsoWebViewClientListener, OnSslUntrustedCertListener { /// test credentials accessing the root folder String remotePath =""; boolean successIfAbsent = false; - boolean followRedirections = false; startExistenceCheckRemoteOperation( - remotePath, this, successIfAbsent, "", "", followRedirections); + remotePath, this, successIfAbsent, "", ""); } @@ -1295,9 +1292,8 @@ SsoWebViewClientListener, OnSslUntrustedCertListener { String remotePath =""; boolean successIfAbsent = false; - boolean followRedirects = true; startExistenceCheckRemoteOperation( - remotePath, this, successIfAbsent, "", "", followRedirects); + remotePath, this, successIfAbsent, "", ""); } else { updateAuthStatusIconAndText(result); @@ -1636,7 +1632,6 @@ SsoWebViewClientListener, OnSslUntrustedCertListener { getUserNameIntent.setAction(OperationsService.ACTION_GET_USER_NAME); getUserNameIntent.putExtra(OperationsService.EXTRA_SERVER_URL, mServerInfo.mBaseUrl); getUserNameIntent.putExtra(OperationsService.EXTRA_COOKIE, sessionCookie); - getUserNameIntent.putExtra(OperationsService.EXTRA_FOLLOW_REDIRECTS, followRedirects); if (mOperationsServiceBinder != null) { //Log_OC.wtf(TAG, "starting getRemoteUserNameOperation..." );