mozilla-services/android-sync — pull request #177 by liuche (2012-05-01 21:03:28+00:00)
Title: Bug 714304 - Implement handling of "upgrade required" response.

Adds handling of HTTP 400: Upgrade Required responses from server in EnsureClusterURLStage.

On receiving an "upgrade required," disable automatic syncing and sync accounts and disable syncing of accounts. On reinstall of the Fennec + Sync package, the sync accounts are re-enabled and set to automatically sync.

This may require changes once we move to supporting multiple Firefox versions, because the sync accounts will still be set to not sync automatically, and be disabled.

Feedback requested, not ready for merging with develop because of mvn test dependencies for MockServer et al.