replicant-packages_apps_Email/res
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
..
anim Restore lost connection error UI 2009-09-18 15:31:37 -07:00
drawable MessageView: update meeting invitation UI assets. 2010-03-03 13:34:27 +01:00
drawable-hdpi Don't use internal resources. 2010-06-16 14:07:17 -07:00
drawable-mdpi Don't use internal resources. 2010-06-16 14:07:17 -07:00
layout Use AccountManager for POP/IMAP; refactor setup classes 2010-07-21 19:01:41 -07:00
menu Add ActionBar to MailboxList 2010-06-29 16:49:47 -07:00
values Use AccountManager for POP/IMAP; refactor setup classes 2010-07-21 19:01:41 -07:00
values-cs Import revised translations 2010-06-09 22:41:54 -07:00
values-da Import revised translations 2010-06-09 22:41:54 -07:00
values-de Import revised translations 2010-06-09 22:41:54 -07:00
values-el Import revised translations 2010-06-09 22:41:54 -07:00
values-es Import revised translations 2010-06-09 22:41:54 -07:00
values-es-rUS Import revised translations 2010-06-09 22:41:54 -07:00
values-fr Import revised translations 2010-06-09 22:41:54 -07:00
values-it Import revised translations 2010-06-09 22:41:54 -07:00
values-ja Import revised translations 2010-06-09 22:41:54 -07:00
values-ko Import revised translations 2010-06-20 18:53:26 -07:00
values-nb Import revised translations 2010-06-09 22:41:54 -07:00
values-nl Import revised translations 2010-06-09 22:41:54 -07:00
values-pl Import revised translations 2010-06-20 18:53:26 -07:00
values-pt Import revised translations 2010-06-09 22:41:54 -07:00
values-pt-rPT Import revised translations 2010-06-09 22:41:54 -07:00
values-ru Import revised translations 2010-06-09 22:41:54 -07:00
values-sv Import revised translations 2010-06-09 22:41:54 -07:00
values-tr Import revised translations 2010-06-09 22:41:54 -07:00
values-zh-rCN Import revised translations 2010-06-09 22:41:54 -07:00
values-zh-rTW Import revised translations 2010-06-09 22:41:54 -07:00
xml Use AccountManager for POP/IMAP; refactor setup classes 2010-07-21 19:01:41 -07:00