463584d23f747cfbbd9856b39390269342363b41 |
|
25-Sep-2013 |
Tony Mantler <nicoya@google.com> |
Fix account matching at initial screen to match against email address b/10210901 Change-Id: I64d60ca33a42a19e085dd98a7a61d68ac30027f9
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
229e173010be54924fb6b9ff0c41151abaeb849a |
|
25-Sep-2013 |
Yu Ping Hu <yph@google.com> |
Merge "Disable account setup debug screen." into jb-ub-mail-ur10
|
463ed118577c8fde5d43a38ff85e707b9ef7f87e |
|
11-Sep-2013 |
Tony Mantler <nicoya@google.com> |
Disable account setup debug screen. b/10446166 Change-Id: I6703c1950559e9896f168a0cbaec10040eac9589
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
78c166b4ccbd4342a07e32571f09fddbb56138b2 |
|
12-Sep-2013 |
Tony Mantler <nicoya@google.com> |
Disallow duplicate accounts b/10210901 Change-Id: I11b759246fafabafe29fd8f4d20f6e973f9679a4
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
26cd5e024c6af8ff9c8558325dd0930c9aacb370 |
|
31-Aug-2013 |
Tony Mantler <nicoya@google.com> |
Don't store the account creation/modificaiton state in a singleton b/10460757 Change-Id: I7f0bea69f843f9061d1cfa9277c99d36705aceaf
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
ed4accb24facd1324948abc61b0791eb3dc97cc4 |
|
23-Aug-2013 |
Tony Mantler <nicoya@google.com> |
Clean up warnings, finals, dead and useless code Change-Id: I8225a78c3b1712479bb5752161e3585a2bc2be2e
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
4727dc2903ca96b6d237f91642d836e8e1ca32e0 |
|
23-Aug-2013 |
Tony Mantler <nicoya@google.com> |
Add TODO for debug variable for entering debug screen See b/10446166 for STOPSHIP notice to disable debug screen before shipping Change-Id: Ic0c845b558a2b745bc5015beb3eac3864165670d
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
219c3b5b8474bc0b95a9dcab21067ff603fccb15 |
|
22-Aug-2013 |
Tony Mantler <nicoya@google.com> |
Tidy up warnings in account setup fragments Change-Id: I078df83dbc4afd10c0783a98bfbb23bced12489c
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
7985b43ab7310f76c170266da346f993d2f86051 |
|
14-Aug-2013 |
Paul Westbrook <pwestbro@google.com> |
Add public no-arg Fragment constructors Bug: 10311630 Change-Id: I0243462cdc28b9af3151754a8c8583330418579b
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
229c070b0b177793032ce9249cb77f6ca98e5aa4 |
|
27-Jun-2013 |
Scott Kennedy <skennedy@google.com> |
Change the concept of a default account The user no longer has control over this. Now, the "default" account (which is only used for prepopulating the name of new accounts is either the last used account (to be defined), or the first account in the database. This removes a setting, and simplifies a lot of code. We may also want to auto-select the default account when entering the compose screen from the combined view, but we do not currently have an easy way to do that. Bug: 7442992 Change-Id: Iff5bb36d8cbd327334211b670fa4851cbda6b9a0
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
560bfadc3151f7a06f3b06e9a6c92cfa534c63ec |
|
26-May-2013 |
Scott Kennedy <skennedy@google.com> |
Unify LogTag There is now only one LogTag class. The static initializer of GmailApplication (existing) and EmailApplication (new) will now set the log tag to "Gmail" and "Email", respectively. Up until that code is run, it will be "UnifiedEmail". "setprop log.tag.Gmail VERBOSE" (or .Email) will trigger all logs to be printed as long as they go through LogUtils, regardless of what tag is used by that individual log. This lets us still turn on logging everywhere in one command, but also lets us use more descriptive tags (like the class name). And since we no longer have three com.android.mail.utils.LogTag classes, builds will be much easier. Also, we now use LogUtils everywhere. Change-Id: I55f1c7a66ce50ead54877a13e40256422a56dc39
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
74c79a50432fcbf127fbfeadc1a461263ea92135 |
|
11-Sep-2012 |
Marc Blank <mblank@google.com> |
Modify intent names Change-Id: Iad8b4842056a7f553363f9af47e65665c2b26a5d
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
e714bb9d153cfe13a7f0932e7d67ea08fa5a1d98 |
|
23-Aug-2012 |
Marc Blank <mblank@google.com> |
Convert authorities, intents, and account manager types * Tested ok on wiped Nexus * Tested ok on S3 * Upgrade verified on Nexus Change-Id: If5d4ce594f8a309cdb59589d10b1d33f3b79326c
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
12a79eb4798093b7e8a276c4e96f07fd62e0933d |
|
18-Aug-2012 |
Marc Blank <mblank@google.com> |
Preserve SetupData state on orientation change * I suspect there are more bugs to be found here Bug: 6956692 Change-Id: Id01d8e990b954505383d8218c05c192d658062cc
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
53d791d7a4d31b91254e16a18c122b36f5847e36 |
|
17-Aug-2012 |
Marc Blank <mblank@google.com> |
Remove Imap2 warning Change-Id: Ic531ef1047ba1bf8da50cae9af147cf18332d8b8
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
125a2435d6f9dd4a49e1a66de35ad6bf39081202 |
|
29-Jul-2012 |
Marc Blank <mblank@google.com> |
Use Imap2 for auto-setup (if installed) * And warn user (allowing her to switch to legacy adapter) * This is temporary, for use in testing and marked STOPSHIP Change-Id: I2510b0855a67c09add116d827185ff14596f44dd
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
c6089bc01f2ae49fb11904a4b4f222811358254f |
|
29-Jun-2012 |
Marc Blank <mblank@google.com> |
Initial Imap2 implementation This CL includes the following: * New Imap2.apk generation (not included in builds) * "Push IMAP" option for accounts when Imap2.apk present * Account creation/setup * 2-way sync of messages, deletions, flag updates * Push (messages, flags) * Folder list hierarchy handling * Message text (one plain or html part) * Picker UI for trash folder (placeholder) * Capabilities handling/UI command Major Imap2 new features: * Push * Multiple folder sync * Sync window (like EAS) TODO: * Picker UI for sent folder * Upload of sent messages to server * Search * Multiple viewable parts * Probably lots more, incl. unit tests Change-Id: Ia5d74073d9c307e0bdae72a7f76b27140dde7d14
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
f419287f22ae44f25e1ba1f757ec33c7941bbfa8 |
|
28-Jun-2012 |
Marc Blank <mblank@google.com> |
DO NOT MERGE: Move emailcommon2 sources to emailcommon Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
03cd72805dab0379ed255d151f1c17cc60655fc3 |
|
25-Apr-2012 |
Marc Blank <mblank@google.com> |
Revert to old Email app * These are the last sources in the ICS-MR1 tree Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
58ce2d0c3a1d693825eb3a8cb9c4ea8ea32d6d65 |
|
20-Dec-2011 |
Conley Owens <cco3@android.com> |
Make TAG field package-private in several classes Specifically, several internal classes. This makes a little more sense since they are accessed outside of the class that they are defined in. In addition, this fixes errors created by proguard when building with OpenJDK. Change-Id: If2e2f90558e04e777a0c4dbc2ccd1f6c46dd8228
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
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/AccountSetupBasics.java
|
025d29fd4b9dd8351fe2e0428a585cf327ddaca4 |
|
11-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Fix some missed account setup flags. There were two places where account flags were being set on setup: one was in manual setup when the user selected the account type (pop/imap/eas), and another was when it was automatically determined from XML. The two paths were inconsistent and one was setting bits like SUPPORTS_SEARCH but the other wasn't. This fixes being able to search in IMAP Bug: 5011932 Change-Id: I50eada7485aaef4e2a85d25fa7eb9ac7ab03093a
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
bc2eaadde987044027b57d241e635de014bdb8ba |
|
01-Jul-2011 |
Makoto Onuki <omakoto@google.com> |
Use parallel executor We should eventually replace all with EmailAsyncTask, but it's the safest thing we can do now to avoid regression. Change-Id: I78bfc4fb2be1dcfadeb7f90092ec7adb35c1d393
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
6fea021e3dbe71aaa93512aba699d1bfda3d520d |
|
29-Jun-2011 |
Marc Blank <mblank@google.com> |
Remove redundant and unused constants Change-Id: Ie8658f86737880e3127a0a2c3b7f0557dde98b29
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.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/AccountSetupBasics.java
|
313586c8eb4e23ceec068b82f3dc0be1c8a7045f |
|
07-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Introduce client cert alias for HostAuth. Some email servers require client certificates to be presented to establish an SSL connection. While this certificate will be maintained by the system key store, we need to store the "alias" of the certificate stored in that system store. Wiring up to use the actual alias will be done in future CL's. It is currently unused. Change-Id: I8d1290151342daea9ceb0df8a4088405b44faa81
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
12b82d9374947c9268217f45befe8a74bd9b60d7 |
|
20-May-2011 |
Ben Komalo <benkomalo@google.com> |
Move HostAuth to top level class. No other changes made. Change-Id: I1c6497c98abc0f99443ea42d8aed6295b263c123
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
2866284a6d4ee4b368fcaf412c540b21d457e065 |
|
13-May-2011 |
Ben Komalo <benkomalo@google.com> |
Rename AccountSettingsXL -> AccountSettings This activity already supports phone and tablet mode. Only renames in this change - no other change. Change-Id: Ieca17137af45e3860812091f69cd4d9b55ddf3ec
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
44f45f4221f5cd681ac3e9596cedb4f0536a1751 |
|
31-Mar-2011 |
Makoto Onuki <omakoto@google.com> |
Merge "Don't use findViewById (part 1 -- account setup)"
|
2fbb3db5d86210d03175ce77ff08c989a96c5864 |
|
28-Mar-2011 |
Makoto Onuki <omakoto@google.com> |
Don't use findViewById (part 1 -- account setup) Added two new functions: - UiUtilities.getView() is a fail-fast version of findViewById(). Crashes when there's no view - setVisibilitySafe() same as View.setVisibility, but doesn't crash even if a view doesn't exist Let's try to avoid the use of findViewById(), and instead use getView(), *right after* the layout is inflated, so that we'll always fail-fast if a layout doesn't have a required view. (Rather than getting a NPE only when the view is really accessed, which can be in a code path which is rarely executed--e.g. only when there's a protocol error.) Let's only use findViewById() only when we're sure no all the variants of a layout have the view in question and leave a comment to make it clear it's on purpose. (UiUtilities has been moved from com.android.email to com.android.email.activity) Change-Id: I36e0bab65a989f5d34cf636f13e1eaee084547af
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
08534762bdded437a7fa0e5e422d311c414e0621 |
|
29-Mar-2011 |
Todd Kennedy <toddke@google.com> |
Allow globals in the providers.xml We now allow a single global character ['*'] to be specified somewhere in the domain attribute. Additionally, we will replace the string "$domain" with the matched domain in all attributes -- user name, password and URIs. bug 4090086 Change-Id: I46a637ed364c1a079e1230fa22393a1bac059b1f
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
a8197834919735349062c65ad9ea04676fb24800 |
|
17-Feb-2011 |
Todd Kennedy <toddke@google.com> |
Fix NPE when creating an account from template if you create an account using one of the pre-defined templates (such as Yahoo!), the user name and password were not being set in the HostAuth structure. This was causing an NPE when we tried to generate an IMAP ID. Change-Id: I9619cddc0ab758c187cf4b9c7c84485ac1f4bfdd
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
040ddf60cfef4aaecf4bfe1f897fce3248d777a4 |
|
04-Feb-2011 |
Todd Kennedy <toddke@google.com> |
Resolve build warnings; part 5 Remove dependence upon URIs for creating the host auth structure Change-Id: I92dee36fa329a8976b76bbd4991ed3469c6475f2
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
31d9acbf0623872f9d4a2b3210b5970854b654c7 |
|
12-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part huit: Refactor constants, clean emailcommon * There are three pieces to this CL (sorry): 1) Move and/or rename some constants into emailcommon 2) Move Utility to emailcommon, moving the few UI related utilities back into Email (FolderProperties and UiUtilities) 3) Remove all references to resources from emailcommon * The three pieces relate in that, between them, they allow the emailcommon static library to compile cleanly Bug: 3442973 Change-Id: Ic5e3abaa2a1b36999e0b6653c6c2134ea1bd544f
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.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/AccountSetupBasics.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/AccountSetupBasics.java
|
a97faa25ac3265209b50d4534b4c2b41cd211e5c |
|
26-Jan-2011 |
Andy Stadler <stadler@google.com> |
Discard result of Dupe Account check if paused Fixes a potential race condition with a slow DB lookup and a fast user (or monkey). Bug: 3384992 Change-Id: I0602820e1d9f49eb01b09c9d78db3d0fc47ccfb1
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
858c2822777f74947e81476125590ad06bfe4803 |
|
20-Jan-2011 |
Andy Stadler <stadler@google.com> |
Handle leading/trailing space in passwords * Allow, but provide warnings via EditText.setError() * Remove one last instance of password trim() Bug: 2981433 Change-Id: I406a4f8b8f27cc5ce90424a8cafe88a677e72f45 Signed-off-by: Andy Stadler <stadler@google.com>
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
49518bb3605d6c8e3cc4801c452e4f8f63220f44 |
|
18-Jan-2011 |
Makoto Onuki <omakoto@google.com> |
Use proper alert icons on dialogs Bug 3364447 Bug 3241281 Change-Id: Ie791d8d5eae26a848de08658a14d6a09d06d0846
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
31e25767918193217c884db72aaa98e50a4957d3 |
|
17-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Follow API changes. Change-Id: I1ca0fe365b953fa98a462912309a1c9647277ba7
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
ea4c5642612803753fd221f33bbdf47fd40bc7dd |
|
09-Jan-2011 |
Brett Chabot <brettchabot@android.com> |
Use new public API to protect force account creation. Check value of ActivityManager.isRunningInTestHarness() before allowing force account creation, instead of ActivityManager.isUserAMonkey(). Bug 3329873 Change-Id: I5028eef9caced2cacc9c187dfd746865939fdedd
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
8b5cd2beff18ff525c429f10acfdd78bc1e011bb |
|
04-Jan-2011 |
Andy Stadler <stadler@android.com> |
Remove UI thread access in AccountSetupBasics * Move getOwnerName to a FutureTask * Use AsyncTask for call to Utility.findExistingAccount() Change-Id: I85e35a12cc28b1dda8a0ccd930869316032a3b12
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
3dedc8b19172066e45a146f1e5065d7cdc00236a |
|
09-Dec-2010 |
Andy Stadler <stadler@google.com> |
Defragment AccountSetupBasics * This was an early attempt at fragmentation * But it turned out that no fragment was needed here - it is not shared or reused in any way. * Precursor to doing final layouts for the activity. * Tested working: Automatic provider lookup Manual POP/IMAP and EAS flow modes (from accounts & sync) Force account creation intent Provider note Duplicate account detection Change-Id: I434edd4b152391d36e70440873932db3ec1a1c99
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
6175300474f01460523ccb3efc9f93722cadf2e0 |
|
09-Dec-2010 |
Andy Stadler <stadler@google.com> |
Allow non-monkey creation of test accounts * Set the debugging flag to allow it * Add STOPSHIP (it cannot go out like this) Bug: 2735784 Change-Id: Id5d162f7f1879b76004a24d5d81e769b06ef8d29
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.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/AccountSetupBasics.java
|
7988164ddfdf2837314fa1763614422bcc90867b |
|
15-Nov-2010 |
Andy Stadler <stadler@android.com> |
First pass of XL account setup * AccountSetupBasics now has an XL version * This is from prelim wireframes * Final colors, text size, and positioning all TBD * Fixed a StrictMode violation (counting #accounts in onCreate) * Lightweight (non-shippable) fixes for functional phone UX Bug: 3188940 Change-Id: Idf6cb514208eba07eaa20b20abfd5fcc3dae1751
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
cd09545b87979fa6b4337f17b5a001f0ef7b5269 |
|
02-Nov-2010 |
Andrew Stadler <stadler@android.com> |
Provide runtime switch for GL acceleration * new checkbox in debug fragment * saved value in prefs so it's sticky * each Activity calls a helper to enable/disable per that flag Change-Id: I1af1ae9f401bc746cc97da00dfb0e06407b79d46
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
43f2321d10a9ec3efd649cd257aee8d88ea87e08 |
|
11-Oct-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Modify code style. Change-Id: I40eeb738ca2dcc7f21ddbc603b03debde5ac27d3
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
9dac94975f31013d4b31ffb15eba27f352b2e758 |
|
07-Oct-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Use AccountAuthenticatorResponse properly. Current implementation ignores callbacks coming from AccountManager, which should be called everytime when this Activity finishes its job. Bug: 3069222 Change-Id: Iea03cf94bdfe8da184e415bf7e759ddeb46ecdd9
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.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/AccountSetupBasics.java
|
fd14496c494a0d38c35c3788c9cc55f1984592e4 |
|
11-Sep-2010 |
Andrew Stadler <stadler@android.com> |
Convert setup to use checker fragment * Activities modified to use new check-settings fragment: * AccountSetupBasics (auto-setup for imap/pop) * AccountSetupIncoming * AccountSetupOutgoing Next CL: Same work for exchange, and terminate old CheckSettings activity. Change-Id: If5c5bfe331161b2429f7d7a4bd13290932f03c47
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
8bcb572ccfdac6974c111fe6dfc753a5e0d4e7ca |
|
09-Sep-2010 |
Andrew Stadler <stadler@android.com> |
Convert setup to actionbars, and holo theme * All setup activities given UI makeover: * Remove legacy themes from manifest - exposes default holo theme * Remove bottom row button(s) * Replace with action bar button(s) * No change to workflow or activity/fragment organization Change-Id: I07ce11a0a2b4b767b5ac111d466e68400fe0f30b
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
57f125a01b5fbb5860b144b3057153a50d07ddd1 |
|
26-Aug-2010 |
Andrew Stadler <stadler@android.com> |
Move debug settings from own activity to setting fragment * Add DebugFragment and incorporate it into AccountSettingsXL * Tap "Email preferences" 10 times in a row to enable debug settings. (Or type D E B U G works as well.) * Point broadcast receiver (*#*#EMAIL#*#*) to AccountSettingsXL * Remove old debug launchers in AccountFolderList * Remove old Debug activity Change-Id: Ib289c42878a07c23f815654ce4570c1399aa49de
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
1b156352f3fc160da5ba050c2437bcd1c995b326 |
|
10-Aug-2010 |
Andrew Stadler <stadler@android.com> |
Fragmentize Incoming settings (IMAP/POP server) Also, extract DuplicateAccountDialogFragment for reuse. Change-Id: I042a158e264d949024347d477d6e9ec999c244d3
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
b98f219cf088fef9288045813c963be070dde9d0 |
|
10-Aug-2010 |
Makoto Onuki <omakoto@google.com> |
Open 2 pane after adding an account. - After adding an account, and when a shortcut to an account is clicked, launch Welcome instead of MessageList. - Then welcome launches the appropriate activity. (MessageList or MessageListXL) - Welcome no longer launches AccountFolderList, which will be gone according to the current plan. Always going through Welcome makes sure that the account backup/restore and the reconciler will always get kicked. Change-Id: Ia57027eba16e98c5d8854e8d3c1d8773bcfbf1e5
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
a75bab550423e0cd0b2d58379d8210ce6c7c7aa9 |
|
10-Aug-2010 |
Andrew Stadler <stadler@android.com> |
Fragmentize AccountSetupBasics Change-Id: I99eb4cd4f8aa80d25a01d720244ccee599cba1d8
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.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/AccountSetupBasics.java
|
42e3f10a9575e277ba6f121e6cac56ddb02fda12 |
|
01-Jul-2010 |
Makoto Onuki <omakoto@google.com> |
Use "*#*#36245#*#*" to activate the debug screen. Dial *#*#36245#*#* on the dialer to activate the debug screen. "36245" = "email" It's useful when - There's no keyboard. - There's no account set up yet. (You can do it by entering the special username/password on new account screen, but that's a bit of a pain.) It's also easier to tell to people. Also, removed "sensitive logging", which should never be used. Change-Id: Id692f8b216f2d85abe1880c452d2067f170dac83
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
9d387ff0bb88ad952b53c956b468dcbcec248752 |
|
20-May-2010 |
Marc Blank <mblank@google.com> |
Fix validation use of FolderSync * To avoid having to use a mock deviceId with FolderSync in validation, we now simply use the real deviceId with the correct SyncKey ("0" for a new account, or the actual sync key if the account already exists) * Rework utility code that finds existing accounts * Write unit test for findExistingAccount Bug: 2589243 Change-Id: Ia532b2e209aec3aa01ca06617b4da78c3d986b32
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
63ab9de1b881bf1496228285511cab213501f404 |
|
06-Apr-2010 |
Andrew Stadler <stadler@android.com> |
Partial solution to make EAS setup respect "manual" * Track whether the user clicked "manual" vs. clicking next (and falling into "manual" because the account is not found in the providers list. Convert this into an "allowAutoDiscover" parameter. * Pass "allowAutoDiscover" down into AccountSetupAccountType and through into AccountSetupExchange. (Note, it's unused/ignored for POP & IMAP accounts and should not affect them.) * In AccountSetupExchange, use the existing EXTRA_DISABLE_AUTO_DISCOVER (previously only for testing) to suppress autodiscover in manual mode. Bug: 2570919 Change-Id: I2583e00d1e6cc26bbd4b85134eddae8cc3a1f91e
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
9f73249031303856670651305adff255a00918b7 |
|
04-Mar-2010 |
Andrew Stadler <stadler@android.com> |
Continuing work on account migration * Prune all folders, messages & attachments that won't migrate * Clean up SSL/TLS values for better connection results & security * Move account setup lookup code to AccountSettingsUtils to share it * Cleanup config/auto-rotation settings to prevent relaunch of auto-discover or account check (from exchange). * A couple of other very small fixes Bug: 2065528
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
ecb1af804144689d4ead96a247b565f9b4eb8160 |
|
02-Feb-2010 |
Andrew Stadler <stadler@android.com> |
Finish up IMAP ID implementation * scrub all external strings to keep them compliant for IMAP protocol * move Build.MODEL to x-android-device-model * send x-android-mobile-net-operator * send AGUID * unit tests for above * retrieve providers from VendorPolicyLoader Bug: 2332183
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
e5c3c98e9a85198e0b023fd25529512baeb88cdb |
|
01-Feb-2010 |
Makoto Onuki <omakoto@google.com> |
Fix confusing setup screen title. Change the title of the screen for adding an exchange account from "Set up email" to "Add an Exchange account". Bug: 2159019
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
f613489663cdc5df71b029dfcec5fd3c5173a549 |
|
27-Jan-2010 |
Makoto Onuki <omakoto@google.com> |
Add "vendor policy" loader, and alternate exchange descriptive text. - Dynamically switch to the alternate exchange strings to substitute overlays. - Added the mechanism to load the "vendor policy", which tells you when the alternate strings should be used. Bug: 2382710
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
5e91cccd4b530eb2aeace5c5bf4f3328a5b5d69d |
|
20-Jan-2010 |
Andrew Stadler <stadler@android.com> |
Quick backup/restore of accounts * Workaround for (HTC bug 2275383) & (Moto bug 2226582) * Adds checkpoints for backing up and restoring accounts * Uses legacy Account / prefs to back up accounts - this is because some of this code will be reused for legacy account migration * Unit tests of Account & LegacyConversions * Unit tests of backup & restore * Not done: testing of EAS/Account Manager interface (this will require deeper dependency injection, to avoid the embedded calls to the Account Manager and other system services.)
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
17da1767e396b873723d53b2aef93da8aca2c00e |
|
18-Dec-2009 |
Marc Blank <mblank@google.com> |
Implement Autodiscover for Exchange servers * Autodiscover allows complete configuration using only email address and password * Code handles the two standard autodiscover addresses and redirect * Autodiscover process starts when the user chooses "Exchange" as the account type. If the account is created via the AccountManager, autodiscover begins upon tapping "Next" for the first time * If autodiscover fails due to anything other than auth failure for autodiscover-capable servers, the user is placed into the standard manual configuration screen Bug: 2366019 Change-Id: I936712b924833d9a133e8da04e11c3ba45d92f92
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
f1efd65a5ebac0a2f1e218c0ae6bb8ceb1a19af6 |
|
18-Dec-2009 |
Marc Blank <mblank@google.com> |
Fix "back key" flow for Email account setup * The existing flow is badly broken; every "back" causes the user to leave the setup flow and therefore have to start from scratch. This is a very bad user experience, as previously entered data is lost and must be re-entered. * The fix corrects these problems, allowing the user to back up through screens UNTIL the account is successfully created. * After account creation, the user is returned to the proper screen, depending on whether we're in "eas flow mode" or not Bug: 2337511 Change-Id: Ie25ac73dfcd8a1dca36e1b31c75ffb22359840d1
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
e1145d173971ebe741e42e9caa209ef2f7bbefa4 |
|
24-Sep-2009 |
Marc Blank <mblank@google.com> |
In EAS flow mode, don't try to use auto-setup (fixes #2143583) Change-Id: I53a287d909fdde3c6ab75087a4a049c3afe9852c
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
8067b54294356f375521ba3d1e7db3df117b65a4 |
|
21-Sep-2009 |
Andrew Stadler <stadler@android.com> |
UI cleanups for new account creation * Improve appearance of basics screen and use simplified text * Provide alternate text when in EAS account setup flow (from acct mgr) * Change "Exchange/ActiveSync" button to "Exchange account" * Add some spacing to the three buttons, to improve appearance Bugs addressed: 2128055 Change string in account picker activity to Exchange 2132713 Welcome message for Email app is inappropriate when coming from Settings -> Accounts & sync -> New account
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
da8836a76cd8a6eaa7e3693eeacc6393870b2066 |
|
15-Sep-2009 |
Andrew Stadler <stadler@android.com> |
Give warnings if dupe account created: * Check for existing accounts with matching servername + username * Show a dialog and block account creation * Triggers in three cases: * After input of an auto-setup account (e.g. Gmail or AOL) * After input of manual setup (incoming) parameters * After changing incoming parameters of *any* existing account * Made some notes in EmailContent regarding fields in HostAuth that we are not actually using. * Added HostAuth unit tests Primarily fixes bug # 1964449 Bonus fix for bug # 1594408 Change-Id: I49310faf6654280582e0ab3d3e40f2701bfcd21d
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
d382107bdc95d4472050d0879dff7e30193ef1c2 |
|
20-Aug-2009 |
Jeff Hamilton <jham@android.com> |
Don't try to load the owner info for now, it's not available.
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
bcff14acf25d3a999b7448e317604e694c204f47 |
|
21-Aug-2009 |
Andrew Stadler <stadler@android.com> |
Create setup flow for use by Accounts manager. * Create a new entry point for the exchange setup flow and switch EASAuthenticatorService to call it * Pass "eas flow mode" down through the setup screens * Slightly modify their behavior as we go (e.g. we skip the (account type" screen since we know it's EAS.) * Add a checkbox to "sync contacts from this account" and pass that value into ExchangeStore when we set up the account. * Change the flow exit to pop back to the account manager instead of taking the user to the new inbox. This CL satisfies cases 1 & 2 of bug # 1974752.
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
fb67ec958c44fcd46b524cc85d5f8ad3aeb4d2fd |
|
19-Aug-2009 |
Jeff Hamilton <jham@android.com> |
Handle null cursors when looking up owner info.
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
cc402e42ab70699fb43d23e69a724639b9507738 |
|
09-Aug-2009 |
Marc Blank <mblank@google.com> |
Clear error states on network reconnect; add temporary notifications; see details * When we get a network connect broadcast, clear error states so sync can restart for any boxes in an error state * Add temporary notification code for the testers * Add file-based debug logger * Add Exchange logging to debug screen (adds additional exchange debugging) * Add Exchange sd card logging to debug screen (logs to sd card) * Change setLogging service API to send an int rather than a boolean * Make sure push mailboxes are set up again when account changes to push * Make sure push mailboxes are set up again when account mailbox starts * (Fixed contacts sync bug found during debugging these changes)
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
a5af05f1a94ba9d0a91bd6507492cf6946f88a4d |
|
04-Aug-2009 |
Mihai Preda <preda@google.com> |
MessageCompose: load body. - load body for edit-draft, replay, forward. - fix debug secret code for no-keyboard devices. - fix CR-LF BUG 1911254. - fix menu invoke compose from folder with mailboxId < 0.
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
180d69e08546c6498e0e710c5db6c4fe6296001a |
|
27-Jul-2009 |
Mihai Preda <preda@google.com> |
Fix UnsupportedOperationException in AccountSetupBasic caused by Account.update() when !isSaved(). Bug 2001896. Introduced by CL 8158.
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
9e2c6bd5f21f2d19eef7ebfe30e6fdf94ede0857 |
|
23-Jul-2009 |
Andrew Stadler <stadler@android.com> |
Remove saveOrUpdate from EmailContent to prevent stale writes * Numerous classes modified to deal with this change * Fixes bugs 1993292 and 1994671 * Renamed various setter and getter methods to reflect the underlying field names * Renamed syncFrequency to syncInterval in Account and Mailbox * Convenience method added to AccountSettings to save only user settings * Calls to content.update(context, content.toContentValues()), which save all fields, should be double-checked for correctness, making sure that content has current data and will not conflict with other threads that might modify that data * Ran all unit tests to confirm proper function NOTE: The logic to enforce single default account no longer works, because that logic is in Account.save() and does not run via Account.update(). I have patched out a small section of the relevant unit test and will file a bug to come back for this fix.
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
54c1f2bf9a6574240b7c9af253f83a2b566442ab |
|
22-Jul-2009 |
Andrew Stadler <stadler@android.com> |
Improvements to default account handling * Remove all references to Account.mIsDefault, which was not the right way to find the default account (it is lazy initialized) * Change Account.getDefaultAccount to getDefaultAccountId, which is more efficient and suitable in most uses. * Wrote unit tests for provider default account handling This should resolve bug 1983390 as well as a few other issues with default account management.
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
a290f503f14432163f74548a5e5d1dc5003ad049 |
|
15-Jun-2009 |
Marc Blank <mblank@google.com> |
Refactored EmailStore, EmailContent, EmailProvider EmailStore goes away, replaced by EmailContent All database activity is moved to EmailProvider
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
68a9ccfcde85505f06ddba28c22481c80419ddd4 |
|
10-Jun-2009 |
Andrew Stadler <stadler@android.com> |
final cleanups to get basic message operations working properly. * Generate compatibility UUID early enough to stick, so our localstore db's are created correctly and not recreated over and over again. * Compose menu items working * Fix single-account mode (go straight to inbox) * Lightweight Account projections where possible * Properly show/hide default account checkbox (during new acct screens) What works: * All unit tests * Editing existing accounts * Create new accounts * Checking account settings against server * Mail sync using accounts * Viewing mailboxes * Viewing messages * Composing messages What breaks (in approx order of planned fixes) * Some details of account editing * Import of existing accounts
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
294a4fd0c6b15c1f8f41ca03be66ed95e16e5a6d |
|
06-Jun-2009 |
Andrew Stadler <stadler@android.com> |
Enable creation of new accounts using provider-based accounts. What works: * Editing existing accounts * Create new accounts * Checking account settings against server What breaks (in approx order of planned fixes) * Some details of account editing * Viewing mailboxes & messages * Mail sync using accounts * Import of existing accounts
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
d5059731780b81c91eff85be8830cafad41f3ed1 |
|
04-Apr-2009 |
Andy Stadler <> |
AI 144522: am: CL 144520 General cleanup after the integrations in CL 143018. Some spelling errors, inconsistencies in passing Application/Activity/Context, and some error handling cleanups. These are all changes that would have probably been made before the original submits, but I didn't want to fix them in the integration step. Original author: stadler Automated import of CL 144522
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
bd681454608d518e938e2e7b3ce801f560b14131 |
|
28-Mar-2009 |
Andy Stadler <> |
AI 143282: am: CL 143018 Integrate changes to generalize selection of Sender & Store. Rollup of CL's 140586, 140598, 140600, 140655, 140656 (partial), 141082 (partial). All unit tests pass. Simple functional tests: Create IMAP & POP3 accounts. For each account: Download messages. Send message. Check account settings. Delete account. Original author: stadler Merged from: //branches/donutburger/... Automated import of CL 143282
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
96c5af40d639d629267794f4f0338a267ff94ce5 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
8c2158a5ebb88e226c23b66ff95910158a2727df |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
f7ae27b973c7a93cd5fb8432940179f6b76a9548 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
be72b1d08af5851ba79651671df8c8b750e35f73 |
|
22-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127436
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
687f9962d7095e18ef994cd0e64337f02ed1a5bd |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|
8978aac1977408b05e386ae846c30920c7faa0a6 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/packages/apps/Email/src/com/android/email/activity/setup/AccountSetupBasics.java
|