Changes from comments in PR#443

This commit is contained in:
masensio 2014-03-20 16:51:00 +01:00
parent c6f0847866
commit 4ae57b5bea
2 changed files with 3 additions and 2 deletions

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

View file

@ -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);