Merge "Make incoming settings username editable" into ub-mail-master

This commit is contained in:
Tony Mantler 2014-06-10 18:09:33 +00:00 committed by Android (Google) Code Review
commit 8b38cc1739

View File

@ -168,11 +168,7 @@ public class AccountSetupIncomingFragment extends AccountServerBaseFragment
@Override @Override
public void onTextChanged(CharSequence s, int start, int before, int count) { } public void onTextChanged(CharSequence s, int start, int before, int count) { }
}; };
// We're editing an existing account; don't allow modification of the user name
if (mSettingsMode) {
makeTextViewUneditable(mUsernameView,
getString(R.string.account_setup_username_uneditable_error));
}
mUsernameView.addTextChangedListener(mValidationTextWatcher); mUsernameView.addTextChangedListener(mValidationTextWatcher);
mServerView.addTextChangedListener(mValidationTextWatcher); mServerView.addTextChangedListener(mValidationTextWatcher);
mPortView.addTextChangedListener(mValidationTextWatcher); mPortView.addTextChangedListener(mValidationTextWatcher);