Merge "Don't display warning message on edit incoming settings"

This commit is contained in:
Jorge Lugo 2011-07-14 11:44:50 -07:00 committed by Android (Google) Code Review
commit b9d835a2bb
2 changed files with 8 additions and 0 deletions

View File

@ -262,6 +262,10 @@ public class AccountSetupExchangeFragment extends AccountServerBaseFragment
if (hostAuth.mPassword != null) {
mPasswordView.setText(hostAuth.mPassword);
// Since username is uneditable, focus on the next editable field
if (mSettingsMode) {
mPasswordView.requestFocus();
}
}
String protocol = hostAuth.mProtocol;

View File

@ -313,6 +313,10 @@ public class AccountSetupIncomingFragment extends AccountServerBaseFragment {
String password = recvAuth.mPassword;
if (password != null) {
mPasswordView.setText(password);
// Since username is uneditable, focus on the next editable field
if (mSettingsMode) {
mPasswordView.requestFocus();
}
}
if (HostAuth.SCHEME_IMAP.equals(recvAuth.mProtocol)) {