replicant-packages_apps_Email/res/xml
Marc Blank e6cc662abc Use AccountManager for POP/IMAP; refactor setup classes
There are two major, interrelated parts to this CL:

1) Clean up the activities to reduce the use of Intents to pass
   information between activities; instead, we use a common
   SetupData structure that automatically saved/restored as necessary
   during the setup flow.  A fair amount of code and inconsistent
   use of Bundle extras has been eliminated in the process.

   * Create SetupData structure, setters/getters, and initialization
     methods to simplify the preservation of state during setup flow
   * Remove all state/flow extras from Intents; Intents now only
     specify the Activity to be started, which should greatly simplify
     the transition to Fragments.
   * Remove all state/flow fields from Activities
   * Modify existing setup activity unit tests and confirm tests pass

2) Create AccountManager accounts for POP/IMAP email accounts to
   provide consistency in user experience.  Also, internal flows are
   now identical as between account types.

   * Move account reconciliation from SyncManager to MailService, so
     that reconciliation is consistent between email and exchange
     accounts; move unit tests as appropriate
   * Add a "Sync Email" setting for POP/IMAP/EAS
   * Change MailService to respect the "Sync Email" setting in
     Settings -> Accounts & sync
   * Create PopImapSyncAdapterService to handle manual POP/IMAP sync as
     requested by SyncManager; add EmailSyncAdapterService to perform
     the same function for EAS
   * Use new PopImapAuthenticatorService to add AccountManager accounts
     for POP/IMAP accounts; setup appropriate stanzas in AndroidManifest
     and add related xml files
   * Update AccountSettings to use SetupData

Miscellaneous other changes:

   * Only allow valid port numbers in incoming/outgoing setup

Bug: 1712475

Change-Id: Ibdac52fb2c5578b86bf3992ddb1acd10f162391a
2010-07-21 19:01:41 -07:00
..
account_preferences.xml Use AccountManager for POP/IMAP; refactor setup classes 2010-07-21 19:01:41 -07:00
account_settings_preferences.xml Use AccountManager for POP/IMAP; refactor setup classes 2010-07-21 19:01:41 -07:00
authenticator_alternate.xml Change EAS authenticator's label according to the vendor policy. 2010-02-02 16:25:29 -08:00
device_admin.xml Move DeviceAdmin APIs to android.app.admin. 2010-02-26 23:31:37 -08:00
eas_authenticator.xml Use AccountManager for POP/IMAP; refactor setup classes 2010-07-21 19:01:41 -07:00
pop_imap_authenticator.xml Use AccountManager for POP/IMAP; refactor setup classes 2010-07-21 19:01:41 -07:00
providers_product.xml
providers.xml
senders_product.xml
senders.xml
stores_product.xml
stores.xml
syncadapter_calendar.xml Implement Exchange calendar sync support 2010-01-28 09:18:48 -08:00
syncadapter_contacts.xml
syncadapter_email.xml Use AccountManager for POP/IMAP; refactor setup classes 2010-07-21 19:01:41 -07:00
syncadapter_pop_imap.xml Use AccountManager for POP/IMAP; refactor setup classes 2010-07-21 19:01:41 -07:00