From 5da2f12dc5b180195f2849738bbce47fcd875d2d Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Mon, 9 Jun 2014 16:22:53 -0700 Subject: [PATCH] Make incoming settings username editable And get rid of that annoying "you can't edit this" info text bubble Change-Id: I7efc039b39be292512f25bd5470b7ae36927c8f3 --- .../email/activity/setup/AccountSetupIncomingFragment.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/com/android/email/activity/setup/AccountSetupIncomingFragment.java b/src/com/android/email/activity/setup/AccountSetupIncomingFragment.java index bfd647cba..e80aa09ca 100644 --- a/src/com/android/email/activity/setup/AccountSetupIncomingFragment.java +++ b/src/com/android/email/activity/setup/AccountSetupIncomingFragment.java @@ -168,11 +168,7 @@ public class AccountSetupIncomingFragment extends AccountServerBaseFragment @Override 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); mServerView.addTextChangedListener(mValidationTextWatcher); mPortView.addTextChangedListener(mValidationTextWatcher);