From: masensio Date: Thu, 20 Mar 2014 15:51:00 +0000 (+0100) Subject: Changes from comments in PR#443 X-Git-Tag: oc-android-1.5.5~5^2~1^2~7 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/4ae57b5bea5c973717f32975219ec6180293a660 Changes from comments in PR#443 --- diff --git a/owncloud-android-library b/owncloud-android-library index 30acd487..f63da07a 160000 --- a/owncloud-android-library +++ b/owncloud-android-library @@ -1 +1 @@ -Subproject commit 30acd4875dda3fd0bec83daaad522f3d5a02ead6 +Subproject commit f63da07a3e3c25c94345ca0761ca0bbf50ea9090 diff --git a/src/com/owncloud/android/authentication/AuthenticatorActivity.java b/src/com/owncloud/android/authentication/AuthenticatorActivity.java index 178e1646..a8293c34 100644 --- a/src/com/owncloud/android/authentication/AuthenticatorActivity.java +++ b/src/com/owncloud/android/authentication/AuthenticatorActivity.java @@ -1230,7 +1230,8 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity } } else { - if (mDetectAuthorizationMethod) { + if (mDetectAuthorizationMethod && + ( result.getCode() == ResultCode.UNAUTHORIZED && result.isBasicAuthentication())) { mDetectAuthorizationMethod = false; mOkButton.setEnabled(true);