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
This commit is contained in:
Marc Blank 2010-02-28 11:06:21 -08:00
parent 0574a37b4e
commit 0d0f094de8

View File

@ -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;