Merge "Revert "Restore the account using SetupData after rotating the screen.""
diff --git a/src/com/android/email/activity/setup/AccountCheckSettingsFragment.java b/src/com/android/email/activity/setup/AccountCheckSettingsFragment.java
index c998591..5f2e51b 100644
--- a/src/com/android/email/activity/setup/AccountCheckSettingsFragment.java
+++ b/src/com/android/email/activity/setup/AccountCheckSettingsFragment.java
@@ -578,9 +578,6 @@
         protected void onPostExecute(MessagingException result) {
             if (isCancelled()) return;
             if (result == null) {
-                // If user rotates the screen, SetupDate will lose the data of current account.
-                // So we need restore the account with mAccount.
-                SetupData.setAccount(mAccount);
                 reportProgress(STATE_CHECK_OK, null);
             } else {
                 int progressState = STATE_CHECK_ERROR;