Merge "Speed up provision notification after security failure" into froyo
This commit is contained in:
commit
17e8ba7eda
@ -2046,6 +2046,9 @@ public class EasSyncService extends AbstractSyncService {
|
|||||||
break;
|
break;
|
||||||
case EXIT_SECURITY_FAILURE:
|
case EXIT_SECURITY_FAILURE:
|
||||||
status = EmailServiceStatus.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;
|
break;
|
||||||
default:
|
default:
|
||||||
status = EmailServiceStatus.REMOTE_EXCEPTION;
|
status = EmailServiceStatus.REMOTE_EXCEPTION;
|
||||||
|
Loading…
Reference in New Issue
Block a user