am 17e8ba7e: Merge "Speed up provision notification after security failure" into froyo

Merge commit '17e8ba7eda1cabf72ac650408abd94f1145397e9' into froyo-plus-aosp

* commit '17e8ba7eda1cabf72ac650408abd94f1145397e9':
  Speed up provision notification after security failure
This commit is contained in:
Marc Blank 2010-04-16 18:19:30 -07:00 committed by Android Git Automerger
commit 6d09bd247b

View File

@ -2046,6 +2046,9 @@ public class EasSyncService extends AbstractSyncService {
break;
case EXIT_SECURITY_FAILURE:
status = EmailServiceStatus.SECURITY_FAILURE;
// Ask for a new folder list. This should wake up the account mailbox; a
// security error in account mailbox should start the provisioning process
SyncManager.reloadFolderList(mContext, mAccount.mId, true);
break;
default:
status = EmailServiceStatus.REMOTE_EXCEPTION;