Rework check to fix NPE
This commit is contained in:
parent
ddc1b7094c
commit
e00ff9d1fb
1 changed files with 4 additions and 3 deletions
|
@ -905,11 +905,12 @@ public class Accounts extends K9ListActivity implements OnItemClickListener {
|
|||
mUseIncomingView.setChecked(mUseIncoming);
|
||||
}
|
||||
} else {
|
||||
// Trigger afterTextChanged() being called
|
||||
// Work around this bug: https://code.google.com/p/android/issues/detail?id=6360
|
||||
if (configureIncomingServer) {
|
||||
// Trigger afterTextChanged() being called
|
||||
// Work around this bug: https://code.google.com/p/android/issues/detail?id=6360
|
||||
mIncomingPasswordView.setText(mIncomingPasswordView.getText());
|
||||
} else {
|
||||
}
|
||||
if (configureOutgoingServer) {
|
||||
mOutgoingPasswordView.setText(mOutgoingPasswordView.getText());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue