From 0d0f094de85bef08691453a013ce3c9e889bd71b Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Sun, 28 Feb 2010 11:06:21 -0800 Subject: [PATCH] Fix #2474554 (After meeting policy req's, no sync) * We weren't retrying the initial account sync after policies are successfully enabled. This results in failure to sync, as we go right into a ping loop. * Retry account sync after provisioning is first successful Bug: 2474554 Change-Id: I20165a5941626b690710f82088d8d861679084b2 --- 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 7805cb5fe..410d71689 100644 --- a/src/com/android/exchange/EasSyncService.java +++ b/src/com/android/exchange/EasSyncService.java @@ -1249,6 +1249,9 @@ public class EasSyncService extends AbstractSyncService { // Set the appropriate failure status mExitStatus = EXIT_SECURITY_FAILURE; return; + } else { + // If we succeeded, try again... + continue; } } else if (isAuthError(code)) { mExitStatus = EXIT_LOGIN_FAILURE;