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

Merge commit '6d09bd247b0b5bf48a88bafc2ef28e25d0148bb7' into kraken

* commit '6d09bd247b0b5bf48a88bafc2ef28e25d0148bb7':
  Speed up provision notification after security failure
This commit is contained in:
Marc Blank 2010-04-16 18:23:33 -07:00 committed by Android Git Automerger
commit f749f77a81

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;