Merge "Make sure to check for a null account before using the account."

This commit is contained in:
Mindy Pereira 2011-12-02 10:44:21 -08:00 committed by Android (Google) Code Review
commit bc6625ef73

View File

@ -285,6 +285,9 @@ public class AccountSetupIncomingFragment extends AccountServerBaseFragment {
private void configureEditor() {
if (mConfigured) return;
Account account = SetupData.getAccount();
if (account == null) {
return;
}
TextView lastView = mImapPathPrefixView;
mBaseScheme = account.mHostAuthRecv.mProtocol;
if (HostAuth.SCHEME_POP3.equals(mBaseScheme)) {