Browse Source

Changes from comments in PR#443

masensio 11 năm trước cách đây
mục cha
commit
4ae57b5bea

+ 1 - 1
owncloud-android-library

@@ -1 +1 @@
-Subproject commit 30acd4875dda3fd0bec83daaad522f3d5a02ead6
+Subproject commit f63da07a3e3c25c94345ca0761ca0bbf50ea9090

+ 2 - 1
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);