From 23a88a8044676c63164393de6868bc935eb98097 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Fri, 16 Apr 2010 09:56:37 -0700 Subject: [PATCH] Speed up provision notification after security failure Bug: 2591899 Change-Id: I038e0b96f03c7dd24e11ee36f3c9464c84fb2930 --- src/com/android/exchange/EasSyncService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/android/exchange/EasSyncService.java b/src/com/android/exchange/EasSyncService.java index 642ea2978..43ebb2dee 100644 --- a/src/com/android/exchange/EasSyncService.java +++ b/src/com/android/exchange/EasSyncService.java @@ -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;