am 7a69ac78: Merge "Don\'t report connection error when account isn\'t initialized" into honeycomb

* commit '7a69ac781b445a5895d31be83d190a2b6ee9fdc6':
  Don't report connection error when account isn't initialized
This commit is contained in:
Marc Blank 2011-01-18 18:36:21 -08:00 committed by Android Git Automerger
commit 65ee542b2c

View File

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