From aeea97275d27f42d724b17e37aed2d0302271007 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Tue, 18 Jan 2011 14:19:19 -0800 Subject: [PATCH] Don't report connection error when account isn't initialized * We report uninitialized for updateFolderList when no mailboxes have been created Bug: 3235788 Change-Id: I337cfeac83bf320e8078e5a837976414fdd93e0f --- src/com/android/email/Controller.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/android/email/Controller.java b/src/com/android/email/Controller.java index 1e9a7854d..63a68a205 100644 --- a/src/com/android/email/Controller.java +++ b/src/com/android/email/Controller.java @@ -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: