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