Merge "Don't report connection error when account isn't initialized" into honeycomb

This commit is contained in:
Marc Blank 2011-01-18 16:22:04 -08:00 committed by Android (Google) Code Review
commit 7a69ac781b

View File

@ -1494,6 +1494,8 @@ public class Controller {
switch (statusCode) {
case EmailServiceStatus.SUCCESS:
case EmailServiceStatus.IN_PROGRESS:
// Don't generate error if the account is uninitialized
case EmailServiceStatus.ACCOUNT_UNINITIALIZED:
return null;
case EmailServiceStatus.LOGIN_FAILED: