am ecd23cf0: Check amProtocol for empty before assuming the user picked a different protocol
* commit 'ecd23cf0f29c10c11c6af5022de81be7757b6017': Check amProtocol for empty before assuming the user picked a different protocol
This commit is contained in:
commit
77c20133ba
|
@ -543,8 +543,9 @@ public class AccountSetupFinal extends AccountSetupActivity
|
|||
} else {
|
||||
mSkipAutoDiscover = false;
|
||||
if (mIsPreConfiguredProvider) {
|
||||
if (!TextUtils.equals(mSetupData.getAmProtocol(),
|
||||
mSetupData.getIncomingProtocol(this))) {
|
||||
if (!TextUtils.isEmpty(mSetupData.getAmProtocol()) &&
|
||||
!TextUtils.equals(mSetupData.getAmProtocol(),
|
||||
mSetupData.getIncomingProtocol(this))) {
|
||||
mState = STATE_AB;
|
||||
} else {
|
||||
mState = STATE_CREDENTIALS;
|
||||
|
|
Loading…
Reference in New Issue