Fix NPE in onBasicsComplete
Check for null mExistingAccountsMap as is done in finishAutoSetup(). Bug:15835752 Change-Id: I9e01d36990e107dc2c89f345c5e6f4565f071913
This commit is contained in:
parent
2eecdd1a50
commit
73a561fbbd
@ -767,7 +767,8 @@ public class AccountSetupFinal extends AccountSetupActivity
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mIsPreConfiguredProvider = false;
|
mIsPreConfiguredProvider = false;
|
||||||
final String existingAccountName = mExistingAccountsMap.get(email);
|
final String existingAccountName =
|
||||||
|
mExistingAccountsMap != null ? mExistingAccountsMap.get(email) : null;
|
||||||
if (!TextUtils.isEmpty(existingAccountName)) {
|
if (!TextUtils.isEmpty(existingAccountName)) {
|
||||||
showDuplicateAccountDialog(existingAccountName);
|
showDuplicateAccountDialog(existingAccountName);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user