c5c44eed77b851e71803b972fb76fd91d5338fef |
|
20-Oct-2011 |
Ben Komalo <benkomalo@google.com> |
Fix account creation issues. This is a theoretically dangerous issue that has surfaced only as a monkey bug so far. The issue is that callers that create an Intent set some global state, expecting that state to still be valid when the Intent is handled. However, if the process was killed before the Intent could be handled, or if that global singleton was not saved properly, that state was lost and SetupData was never initialized properly. Bug: 5337276 Change-Id: I6bd08a0dec13f54c7ba8d536ebdc87e6c559c483
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|
f5418f1f93b02e7fab9f15eb201800b65510998e |
|
14-Jun-2011 |
Marc Blank <mblank@google.com> |
Move Account into its own top-level class Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|
aeee10e57ef4d931e7708fde218d590453a82aea |
|
28-Apr-2011 |
Marc Blank <mblank@google.com> |
Rework of security policy storage * Replace crazy (and soon to be "full") bit fields stored in an account's securityFlags with a row in a newly created Policy table (thus, fully expandable) * Update code from database version 17 to 18; adds Policy table, a policyKey row in Account, and a revised trigger that deletes Policy information for deleted Accounts * Update old PolicySet unit tests to work against the new Policy class * Add test for the conversion of securityFlags to Policy * Tested in a variety of scenarios; appears to be functionally equivalent Change-Id: I1505ee75230d6a0d3c2b62a46326f39c2c7f9eb5
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|
a7bc0319a75184ad706bb35c049af107ac3688e6 |
|
10-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part six: EmailContent * Moved EmailContent to emailcommon Change-Id: Ib3db1bfcfe74554c0e5afd3cfce6d72f26e9aeb9
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|
9ba506c4dd498150555f6c59aa758f7467bf9236 |
|
09-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part deux: PolicyService * Split PolicySet from SecurityPolicy and move to emailcommon * Define PolicyService that sync adapter services can use to interact with the Email DPM administrator * Implement PolicyServiceProxy for exchange * Implement PolicyService in email * Modify imports, references, etc. as required Bug: 3442973 Change-Id: I92015e21f780a68754b318da89fbb33570f334a2
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|
f020910461908681978a9e0f8f98b748853b0e39 |
|
26-Jan-2011 |
Andy Stadler <stadler@google.com> |
Fix Account Manager integration * Rework the interaction with the Account Manager * Remove unneeded call to response.onRequestContinued() * Store response in SetupData so it can survive the entire account setup flow. * Explicitly report exit status to acct mgr at known exit points: * AccountSetupBasics.finish() (fail/cancel) * AccountSetupOptions.finish() (fail/cancel) * AccountSetupOptions.optionsComplete() (success) Bug: 3335128 Change-Id: Ia55724eb1e938f2633c5ff7afb719a879be16a1b
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|
d685b469c73c3479c09301da2e65cd7c11fd4ace |
|
05-Dec-2010 |
Andy Stadler <stadler@android.com> |
Add magic intent to force account creation * Add entry point via com.android.email.CREATE_ACCOUNT * Enable when in monkey mode only * Walks through setup screens as if auto-populated and as if connection checking always succeeds. * Refactored some common code in AccountSetupBasicsFragment * Removed obsolete commentary about auto-population of EAS accts * Also fix minor typo in FLOW_MODE_ACCOUNT_MANAGER_POP_IMAP Bug: 2735784 Change-Id: Ie7363836cd267673e963e60ae8bc32cab422576e
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|
bbe25adfc87bf72cd031969bb736833780c1dd1d |
|
01-Nov-2010 |
Makoto Onuki <omakoto@google.com> |
Fix crashes related to readParcelable We need to pass the actual class loader. Passing null makes it use the boot class loader, which can't find our classes. Bug 3073304 Change-Id: I1c72c1d352cfc0a730aba1d83eb048a8cfa95b67
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|
2731aef45c6f2f9792ae698ebf7d65ca6338a02c |
|
13-Sep-2010 |
Andrew Stadler <stadler@android.com> |
Convert exchange setup to use checker fragment * AccountCheckSettingsFragment now supports AutoDiscover * Clean up callbacks for account check & autodiscover errors * AccountSetupExchange now supports rotation * Remove dead code in SetupData & AccountSetupBasics TODO next CL: Remove all edit flows from setup activities TODO next CL: Remove old CheckSettings activity Change-Id: I3c9884856ca6e70226374fdb28400bfb3588387e
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|
e6cc662abc0b5fffe223cda5e980b4f05a4e91dd |
|
08-Jul-2010 |
Marc Blank <mblank@google.com> |
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
/packages/apps/Email/src/com/android/email/activity/setup/SetupData.java
|