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