Merge "Make sure to check for a null account before using the account."
This commit is contained in:
commit
bc6625ef73
@ -285,6 +285,9 @@ public class AccountSetupIncomingFragment extends AccountServerBaseFragment {
|
|||||||
private void configureEditor() {
|
private void configureEditor() {
|
||||||
if (mConfigured) return;
|
if (mConfigured) return;
|
||||||
Account account = SetupData.getAccount();
|
Account account = SetupData.getAccount();
|
||||||
|
if (account == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
TextView lastView = mImapPathPrefixView;
|
TextView lastView = mImapPathPrefixView;
|
||||||
mBaseScheme = account.mHostAuthRecv.mProtocol;
|
mBaseScheme = account.mHostAuthRecv.mProtocol;
|
||||||
if (HostAuth.SCHEME_POP3.equals(mBaseScheme)) {
|
if (HostAuth.SCHEME_POP3.equals(mBaseScheme)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user