Speed up provision notification after security failure
Bug: 2591899 Change-Id: I038e0b96f03c7dd24e11ee36f3c9464c84fb2930
This commit is contained in:
parent
ce592f32f9
commit
23a88a8044
@ -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