994c282d804a635f783681ae314a6b4b244b476e |
|
10-Jun-2014 |
Tony Mantler <nicoya@google.com> |
Fix OAuth when changing credentials from settings b/15521401 Change-Id: I7909389943c8e3eefbef0699f1c7c9c338282ca5
/packages/apps/Email/src/com/android/email/mail/Store.java
|
e8eb6e659b5914eb7deab451c583e906010d0457 |
|
11-Dec-2013 |
Martin Hibdon <mhibdon@google.com> |
Make OAuth work Now you can authenticate your account using oauth for google hosted accounts (e.g. google.com, gmail.com) The setup ui is still not up to spec. Change-Id: Ib2826653550a823b4d1b8739c1e483746cccbc22
/packages/apps/Email/src/com/android/email/mail/Store.java
|
ff1ee36cb5f767804fdb62e1f1c6c724bac72e12 |
|
03-Jan-2014 |
Martin Hibdon <mhibdon@google.com> |
Close Imap connections when we are done using them Also, clean up when we create and lose track of ImapStores. Prior to this we were creating them often, and losing track of them, which renders useless a lot of the complex logic in ImapStore devoted to reusing connections. Change-Id: I771d4e46d0c1cb9b605c43d9cbae6e52f5894745
/packages/apps/Email/src/com/android/email/mail/Store.java
|
1b8e0fa23f6e9957f0b8753dd3f5b95d3f5d98ea |
|
26-Jun-2013 |
Scott Kennedy <skennedy@google.com> |
Clean up a bunch of warnings Bug: 9565838 Change-Id: I5e95562bbf463f057cbcc4a9884427a774473b45
/packages/apps/Email/src/com/android/email/mail/Store.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/mail/Store.java
|
17d5bbf768c27ac7782b155e2ab25bcd480f5dcf |
|
05-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Improve mailbox sync and load more. - Update syncTime for IMAP and POP whenever we sync. - Change load more to simply include the delta in the RPC rather than using the visibleLimit column. - Add a query to get the message count for a Mailbox. - Refactor code for updating totalCount and determining the new message count when syncing. - Remove dead code from Mailbox. - Remove uses of visibleLimit from code. Note that visibleLimit and messageCount in Mailbox table are no longer useful and will be removed in a later change. Bug: 8579767 Bug: 8523146 Change-Id: Ieb67e3b6f1c82c3b21b972c5a1e557cd75dc21db
/packages/apps/Email/src/com/android/email/mail/Store.java
|
5c523858385176c33a7456bb84035de78552d22d |
|
20-Sep-2012 |
Marc Blank <mblank@google.com> |
Restore Imap1 * Restore Imap1 code * Legacy users will use Imap1 * Existing Imap2 users will continue to use Imap2 * New accounts will be created in Imap1 * More to follow Bug: 7203993 Change-Id: I8b86fcada59a854fd464d5269c94d00ebae85459
/packages/apps/Email/src/com/android/email/mail/Store.java
|
b203b2b1196bfd5507c83a4fe81d362de840ec0a |
|
19-Sep-2012 |
Marc Blank <mblank@google.com> |
Remove useless class and crazy UIDL logging * The logging makes it very difficult to debug POP3 issues Change-Id: Ic3ffb9e5b3240918dff3e713fc2a7c49976efe84
/packages/apps/Email/src/com/android/email/mail/Store.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/mail/Store.java
|
f6db592c313c77190727c7cd72d3edda9d23a099 |
|
02-Aug-2012 |
Marc Blank <mblank@google.com> |
POP3 renovation * Much, much faster * Remove message length pass and lots of other useless code * Create pseudo-attachment for long messages (click to download) that includes size (so user can determine whether it's worth it) * Handle download of message via pseudo-attachment; real attachments are then created as necessary. TODO: Add real UI with UX input (or modify existing to clean up the loose ends) TODO: Optimizations for loading the whole message TODO: Get server delete working (isn't working currently anyway) Change-Id: I31f3809fc5a2f9fd490d33cfed70d2930654e71d
/packages/apps/Email/src/com/android/email/mail/Store.java
|
a8b683cf3f2efe726220c0235368cf6ea899e3ba |
|
18-Jul-2012 |
Marc Blank <mblank@google.com> |
More work on Imap2 * Handle sending mail and moving to sent folder * Implement picker for sent folder * Upload sent items to server * Add support for "automatic" sync window * Move some files from Email -> emailcommon * The added files are copied directly from Email (and can be removed if/when Imap2 is merged back with Email) Change-Id: I3a6a3d224826e547748be2f1b567b6294ad5db89
/packages/apps/Email/src/com/android/email/mail/Store.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/mail/Store.java
|
3285fb3cfdb209257ed5fb8f36a4d98c67b0d53e |
|
18-Oct-2011 |
Marc Blank <mblank@google.com> |
Prevent NPE with badly-timed account deletion Bug: 5473621 Change-Id: I0956540de0de172bc3519a301598e197b449b9a8
/packages/apps/Email/src/com/android/email/mail/Store.java
|
569785b4f9dd804dd3239f9e307b0fa79a5f1871 |
|
30-Jun-2011 |
Marc Blank <mblank@google.com> |
Oops; fix NPE Bug: 4977755 Change-Id: I117eb3a061628ee572f37123631c3da301b5e50b
/packages/apps/Email/src/com/android/email/mail/Store.java
|
0b8e04c84def3a06ef45126b48efc485fa0a7628 |
|
29-Jun-2011 |
Marc Blank <mblank@google.com> |
More Store cleanup Change-Id: I8f542175b4468c7a320322a57bfdaf19a7320165
/packages/apps/Email/src/com/android/email/mail/Store.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/mail/Store.java
|
244d306ebb0addbc5d87008af9412b76c80e861e |
|
29-Jun-2011 |
Marc Blank <mblank@google.com> |
Remove more useless code * Strike another blow for sanity! Change-Id: Id95b441f9577abda66f04113793d6b1c60500ebe
/packages/apps/Email/src/com/android/email/mail/Store.java
|
35b0e95ca795e17b6dc8dd98c7ab847d65d9aa0c |
|
29-Jun-2011 |
Marc Blank <mblank@google.com> |
Clean up Store implementation * Remove unused argument from newInstance/constructor * Create ServiceStore class, the superclass of ExchangeStore (and, eventually, all Stores, until they can go away completely) Change-Id: Ic5237236c5349ecf006538c58b63c1efe8e4ea61
/packages/apps/Email/src/com/android/email/mail/Store.java
|
66a47b8dac5e97e37c30b928bc5a227d74baada9 |
|
27-Jun-2011 |
Marc Blank <mblank@google.com> |
Clean up/simplify ExchangeUtils/ExchangeStore * Rename ExchangeUtils to EmailServiceUtils * Create calls for Exchange to use (eventually remove these) * Get rid of lots of nonsense in ExchangeStore Change-Id: Ic538cfe1de57eca24088ee1f590264283d12f511
/packages/apps/Email/src/com/android/email/mail/Store.java
|
f65bdbdaf5960951452b148f801c51feca864bfe |
|
16-Jun-2011 |
Marc Blank <mblank@google.com> |
Fix Store caching Bug: 4671090 Change-Id: I07413eb713c564f6dbcac45091357153cfe19a5d
/packages/apps/Email/src/com/android/email/mail/Store.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/mail/Store.java
|
85e4c101b014857fe40f87c3837b82564cfc5b6c |
|
08-Jun-2011 |
Marc Blank <mblank@google.com> |
Remove storeUri's except during auto-setup * Remove per-store limitations * Use constants for VISIBLE_WINDOW, rather than having the potential for differences between Stores Change-Id: Idd5e0874bba6e3390e4f093bcb03f4b1bb399c11
/packages/apps/Email/src/com/android/email/mail/Store.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/mail/Store.java
|
581e3c2333deec3d57d9a18a2ed6da26ae71c8a2 |
|
17-May-2011 |
Todd Kennedy <toddke@google.com> |
Fix Store re-using old data The key for the Store cache was not adjusting properly for account changes (such as port changes, etc...). As such, it was possible to get an invalid store. Now, there's problem with leaking Account objects if the store account changes (see bug 4440839). This is "okay" for now since account changes are fairly uncommon and Account objects are light. However, this should be fixed at some point. Change-Id: I4ddcbc3e2759b7b1374d0300706373678dedec94
/packages/apps/Email/src/com/android/email/mail/Store.java
|
171c3f2273223652b9999977d530a715420c0f64 |
|
16-May-2011 |
Todd Kennedy <toddke@google.com> |
Some more re-arrangement of code No real code changes; just moving where code / constants live. Removed one unused method of Store. Change-Id: Ie7532381759a568cb23601e1071c8e199b6beb07
/packages/apps/Email/src/com/android/email/mail/Store.java
|
53ea83ebf91f820692e8fa8e781f5cc982dd94db |
|
14-May-2011 |
Ben Komalo <benkomalo@google.com> |
Move Mailbox to top level class. No other changes made. Change-Id: I3d8f3c521dc0d902be313b25252b4b6a4a96e7ee
/packages/apps/Email/src/com/android/email/mail/Store.java
|
c4cdb11d24c19428dd39f986b00c1a29e75e1505 |
|
03-May-2011 |
Todd Kennedy <toddke@google.com> |
Remove notification if messages seen off device If we receive new messages, we may display a notification to the user. If those same messages are read elsewhere (i.e. via a web client), we will remove the notification. Change-Id: Iba09afe01942e0deaac8210fd6f9b315b1c8c93f
/packages/apps/Email/src/com/android/email/mail/Store.java
|
e87ff6c3cbbfc5e3636f9827b58820652e3ea1c5 |
|
27-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Opportunistic cleanup not making any real code changes: * removed deprecated, unused methods * remove 'throws' clauses when that exception is never thrown * renamed method Controller#moveMessage()-->moveMessages() Change-Id: Ifd006f760f0c19283e94a11a45c71295c8da35f7
/packages/apps/Email/src/com/android/email/mail/Store.java
|
019341af98ffe2dcd484bd0468c9858d9e7cd7a3 |
|
26-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Set mailbox flags for message contents For IMAP, it's possible for a mailbox to exist on the server, but, to be unselectable. Previously, these folders were never added to the folder list. However, with nested folder support, we need to have these folders in the UX so the user can get to its sub-folders (which may be selectable). Change-Id: I11135fafbb14b40660983804fb86bd223e180d5e
/packages/apps/Email/src/com/android/email/mail/Store.java
|
22208771b7b39c5d131372ba6bc45ab23cc22232 |
|
23-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Add hierarchical folders to IMAP We now create folder hierarcies for IMAP. This also includes a nifty SQL statement that will get your existing database into shape. Change-Id: If07a0632e9b250cf0c33c3e16bfba5816beab94c
/packages/apps/Email/src/com/android/email/mail/Store.java
|
7155c49f357144885ef062549f2a370e75657123 |
|
21-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Use Account objects instead of URI for exchange No need to use URIs when we have the Account object. bug: 4322402 Change-Id: I06e8a5b43063446fa41f7e81eb3638b2570abe5c
/packages/apps/Email/src/com/android/email/mail/Store.java
|
200c6bd9fa19b78acc2c1664f858521aa9885353 |
|
21-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Simplify mailbox synchronization logic The logic is simplified by creating database rows for new mailboxes down in Imapstore. This means that the difference between local and remote folder lists are mailboxes that need to be deleted. Note -- this is still not the final CL. We probably update the database too frequently and the column values aren't updated to support nested folders. Change-Id: Ifbe4e0cf74ba81e5b6156b452ab72c56c35235ab
/packages/apps/Email/src/com/android/email/mail/Store.java
|
a50fc99b0c433f0cde31ba1c7ab87fb9ea86345d |
|
19-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Use Account instead of URI to create transports There's no need to create a URI just to rip in appart again. Additionally, to support additional changes (i.e. to use Mailbox instead of Folder in the MessageController), we need to store the actual Account. NOTE -- This change only affects IMAP and POP3. SMTP will come in a follow-on CL Change-Id: I400036a17271c99272fd9c603547dcd713b50b9d
/packages/apps/Email/src/com/android/email/mail/Store.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/mail/Store.java
|
32311cce0153fbb2708d871626a0797cc93b7e4e |
|
10-Feb-2011 |
Todd Kennedy <toddke@google.com> |
Implement IMAP prefix support We support two different ways for an IMAP prefix to be specified: 1. A text field on the IMAP configuration page. This is the most obvious to the end user. It is also an explicit, manual configuration. 2. RFC2342 defines a NAMESPACE IMAP command to be able to query the prefix from the IMAP server. This is an automatic configuration without any user involvement (i.e. the UI will NOT change if a prefix is loaded in this way) If the user goes to the trouble of specifying a prefix, we will always honour it instead of the namespace returned by the IMAP server -- even if the user's configuration is wrong. bug 1592696 Change-Id: I6b94c7aaac538f6cd9dc4694b0f1634e8c956bc1
/packages/apps/Email/src/com/android/email/mail/Store.java
|
2193962ca2b3157e79f731736afa2a0c972e778a |
|
10-Feb-2011 |
Marc Blank <mblank@google.com> |
Email split, part quatre: Move along, nothing to see here * No code was harmed, er, changed in the making of this CL * All that's happened is that code that is needed by both Email and Exchange have been moved into emailcommon * This required import changes to many files, which explains the length of the CL Change-Id: I4e12455ba057a4a8054fdbd0b578c73afa411c8a
/packages/apps/Email/src/com/android/email/mail/Store.java
|
d6d874f8c6ce2580ef9ec2406fe411af45b2d92d |
|
02-Jun-2010 |
Marc Blank <mblank@google.com> |
Streamline security setup flow * The setup flow is changed such that the user is asked to activate device administration before leaving the setup flow, rather than having to wait for the notification to appear, etc. * Accounts requiring security are created in a security hold state to prevent initial sync until device administration is active Change-Id: I7e33cf98466370ae27414b99018f7aee71e9e237
/packages/apps/Email/src/com/android/email/mail/Store.java
|
968be441b4c253668c4ee1c7a3f8e4b0eb12cf24 |
|
21-May-2010 |
Makoto Onuki <omakoto@google.com> |
Don't store arbitrary Context in singletons, which causes memory leak. We have singletons that store a Context passed to getInstance(). The problem is that when we call them, we casually pass any Context at hand. If it's an activity (which is often the case), it'll never be GCed. This CL make them store the application context insteaed. Change-Id: I1abcc2c08d3f8201416d6c14720f041693823b4e
/packages/apps/Email/src/com/android/email/mail/Store.java
|
b3f7dd0169a35221184b9327c8ce337b09dc6d1f |
|
10-May-2010 |
Makoto Onuki <omakoto@google.com> |
Clean up member variables. - Fix misnomered fields. (e.g. static mMember -> static sMember) - Reduce visibility. (e.g. mark as private) - Mark final / static if possible. Note it's on master. There's a lot more cleanup oppotunities in the activities, but they're going to go through a major overhaul, so I didn't bother. Change-Id: I3fde73ba5f1f9ff675fff07c510e1e49521dde42
/packages/apps/Email/src/com/android/email/mail/Store.java
|
e46ac1a61f32bd762a879457b1850087a1ad3a8c |
|
07-May-2010 |
Makoto Onuki <omakoto@google.com> |
Cleanup imports. (Note it's for froyo-plus-asop) Change-Id: Ia5b771cd41099ab486ba2e556b441fc7c0affe5f
/packages/apps/Email/src/com/android/email/mail/Store.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/mail/Store.java
|
e4a7cc440f081ef9c4375a2bd2f82680cc11b152 |
|
30-Sep-2009 |
Andrew Stadler <stadler@android.com> |
Re-enable modernized version of "optional" SSL/TLS * Add "Accept all certificates" modes to incoming/outgoing secure choices * Change URI scheme slightly to make "trust" a flag, not part of the protocol. * Change Stores to know about new URI scheme * Slightly rework Transport API to make "trust" an independent flag * Adapt HostAuth to handle new Uri scheme * Remove the old ambiguous "optional" code, which was allowing some unsigned certificates, but was *also* allowing TLS to optionally start (though not SSL, despite the UI strings.) * Add a few unit tests to EmailContent * Add logging and a bunch of comments to TrustManagerFactory, and a bit of simple cleanup to make it more readable. * Add missing conversion of SSLException->CertificateValidationException in TLS so we get the correct certificate errors from TLS too. * Re-enable TLS for mac.com accounts (which had a certificate problem) Fixes bug http://b/2119755, http://b/1374780, and probably a raft of earlier and/or external bugs about certificate problems. Change-Id: Iaf99a8da3eaadaa4cdeec224737838b5d6813e55
/packages/apps/Email/src/com/android/email/mail/Store.java
|
46d7d7f1b6387d144c3f9e7c987418dc8f55fad4 |
|
18-Aug-2009 |
Andrew Stadler <stadler@android.com> |
Rework service to use provider accounts and controller. * Rewrite service logic to select and update one account at a time * Add checkmail API to Controller, and much rework/cleanup of existing callback API's * Rewrite notification posting code * Rewire connection to MessageList to be opened by notifications, to cancel notifications, and to reset the "new message" count whenever an account is viewed. * Boilerplate cleanup to a lot of activities because they share the callbacks that have had minor changes. * Remove old push controls from Store API In progress: * To provide notification mechanism for EAS pushed mail
/packages/apps/Email/src/com/android/email/mail/Store.java
|
a492673609111fe8c41ae152d62547b267346502 |
|
18-Jun-2009 |
Mihai Preda <preda@google.com> |
Review Email tests annotations (small/medium/large) and change some annotations based on time. Fix an NPE appearing when running the test suite. BUG: 1566281, 1910409.
/packages/apps/Email/src/com/android/email/mail/Store.java
|
3b7a93e8bbeda13e49ef17b45ba7b46fe8284dee |
|
07-May-2009 |
Andy Stadler <nobody@android.com> |
AI 148375: Explicitly remove deleted accounts from the Store cache. This resolves possible bugs when an account is deleted and recreated. BUG=1740626 Automated import of CL 148375
/packages/apps/Email/src/com/android/email/mail/Store.java
|
c9f151d4fe47c5d426109822a7042ae8bbeb0a06 |
|
02-May-2009 |
Andy Stadler <nobody@android.com> |
AI 148230: Allow stores to indicate if they support server-side copying of sent mail into the "Sent" folder, thus eliminating the need to perform a 2nd upload into the server's Sent folder. IMAP and POP3 do not support this (although IMAP could when it recognizes Gmail IMAP servers.) BUG=1807499 Automated import of CL 148230
/packages/apps/Email/src/com/android/email/mail/Store.java
|
035dfc08598c0b2cb517d761b24294dadfca3f24 |
|
02-May-2009 |
Andy Stadler <nobody@android.com> |
AI 148215: Provide a better way for stores to get their callbacks, since they might be null at creation time, and available slightly later. BUG=1807499 Automated import of CL 148215
/packages/apps/Email/src/com/android/email/mail/Store.java
|
9ba72bb00d5621997eda2033226bce1e0146a111 |
|
01-May-2009 |
Andy Stadler <nobody@android.com> |
AI 148204: Encapsulate a requirement for some remote stores, that need to preload message structures before fetching the message body. Code for IMAP & POP3 is unaffected, but remote stores can override requireStructurePrefetch() in order to trigger the new behavior. BUG=1807499 Automated import of CL 148204
/packages/apps/Email/src/com/android/email/mail/Store.java
|
c5c2b9673907d44fa03ac277a9028704b6277c7b |
|
01-May-2009 |
Andy Stadler <nobody@android.com> |
AI 148145: Remove the account-based storage of store persistent data, and instead combine it with the same code that handles folder persistent data (in the database). The schema is really simple; Rows with a folder id of -1 are store data. This also adds the ability to use keys to store multiple values, instead of a single string per account. Added/updated unit tests. 3rd party stores will need slight code changes because the persistent callbacks now accept keys. BUG=1807499 Automated import of CL 148145
/packages/apps/Email/src/com/android/email/mail/Store.java
|
c05afb24bbb47be9b9c5224cfe9aa6a3a84b6870 |
|
30-Apr-2009 |
Andy Stadler <nobody@android.com> |
AI 148019: Add "accountInstanceLimit" to stores.xml so a given type of connection (e.g. EAS) can limit itself to n (usually 1) accounts per device. The UI for this is really simple - don't show the EAS button when the limit is reached. More work would be required in AccountSetupAccountType.java in order to do a more sophisticated UI (e.g. show the button but pop a toast if the limit is reached.) BUG=1740626 Automated import of CL 148019
/packages/apps/Email/src/com/android/email/mail/Store.java
|
100867a2317c7c40d362ce9db982ee2875d3f448 |
|
24-Apr-2009 |
Andy Stadler <> |
AI 147730: 1. Create an API by which a Store can specify its own custom synchronizer code. 2. Refactor (and spell-fix) the core folder synchronizer. Extract the innards that are IMAP/POP specific, leaving common wrapper code in a simpler shell. 3. For each account & folder to sync, check the store and call the specialized sync'er (if provided) or the generic one. BUG=1807499 Automated import of CL 147730
/packages/apps/Email/src/com/android/email/mail/Store.java
|
72288724d40a4179ea0f978fee72e8b8dd293007 |
|
24-Apr-2009 |
Andy Stadler <> |
AI 147538: Because mPreferences is transient, we need to pass Context into the persistent callbacks, in order to recreate it occasionally. BUG=1786939 Automated import of CL 147538
/packages/apps/Email/src/com/android/email/mail/Store.java
|
3f66d3de11400cdaca7ceb0cbfae9ab3d5783a9e |
|
23-Apr-2009 |
Andy Stadler <> |
AI 147486: Change the remote/local mapping callback to be folder-by-folder instead of for the entire store. BUG=1807499 Automated import of CL 147486
/packages/apps/Email/src/com/android/email/mail/Store.java
|
912dc3b1946e8f16b34daaa9a8e541219ed46d95 |
|
23-Apr-2009 |
Andy Stadler <> |
AI 147423: Provide a hook to notify remote stores that local stores are set up. BUG=1807499 Automated import of CL 147423
/packages/apps/Email/src/com/android/email/mail/Store.java
|
4836f3c289f728048435ea2b5055e65b167f5a88 |
|
15-Apr-2009 |
Andy Stadler <> |
AI 146331: Make the download window sizing adjustable on a per-store basis. The default values are 25 (default) and 25 (increment). This is fine for Stores that control downloads by # of messages, but won't work for stores that use other measurements - e.g. EAS windows the download in # of days. So for this change: 1. Allow the StoreInfo to provide non-default values 2. Remove the hardcoded references to the default values 3. Use StoreInfo values everywhere 4. Set the values to 1,1 in EAS store info BUG=1789913 Automated import of CL 146331
/packages/apps/Email/src/com/android/email/mail/Store.java
|
cd7e5664f9de81dbe3ba8e57941ca6aa6c1dc3d7 |
|
14-Apr-2009 |
Andy Stadler <> |
AI 146061: Add persistent storage that Store classes can access. The current design for Store classes (e.g. IMAP) did not provide for any persistent storage. This is the beginning of a mechanism to provide that. It's quite simplisitic - each Store can read/write one persistent string - but that's enough for the first simple use case (saving some sync data for EAS). The core changes here - suggest reviewing first - are in Account.java, Store.java, and AccountUnitTests.java. Everything else is just following the API change that was necessary. Note that, by definition, this only applies to remote stores (e.g. IMAP, POP3). You'll see everywhere that LocalStore is passed null, and this is correct - LocalStore *is* persistent storage and does not need access (so far, at least). BUG=1786939 Automated import of CL 146061
/packages/apps/Email/src/com/android/email/mail/Store.java
|
8664ecf1817e9965f9910dd12f6115ef4aaa8f2a |
|
09-Apr-2009 |
Andy Stadler <> |
AI 145227: Add callback for push-mode stores to report async updates. The logic for this is quite simplistic, for now: When the store reports that it has new messages, it triggers a service refresh, just as if a pull-mode interval had expired and it is time to check the server. Note, unfortunately at this time there are no tests, because there are not currently any good test seams in MailService.java. BUG=1776149 Automated import of CL 145227
/packages/apps/Email/src/com/android/email/mail/Store.java
|
ea6fea9bb22368c10083d5dce52adae86e51a243 |
|
08-Apr-2009 |
Andy Stadler <> |
AI 144953: Provide UI for push mode accounts. 1. Generalize the code for the various spinners that control account check frequency. 2. Provide an API for looking up store attributes (and refactor existing instatiateStore logic to use it). 3. Cleanup the old code that was used to setup frequency spinners. 4. Hardwire Exchange accounts to default into push mode. Notes to tester: 1. For each account type (POP, IMAP, EAS) we need to check that auto & manual creation "do the right thing" for frequencies. POP & IMAP should offer "none" or time intervals, while EAS should offer "push", "none", or time intervals. 2. EAS accounts should default to "push", all others to "15 min" 3. Make sure that you can edit existing account settings and see the right choices (only EAS should be offered push). 4. I couldn't write an automated test for the mail checker service, please confirm that POP & IMAP accounts are checked at the right intervals (or never, if set for "none".) BUG=1776149 Automated import of CL 144953
/packages/apps/Email/src/com/android/email/mail/Store.java
|
2b0c619f1edd9fd89dc06bf35d99ece91f415f1e |
|
04-Apr-2009 |
Andy Stadler <> |
AI 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. BUG=1740621 Automated import of CL 144520
/packages/apps/Email/src/com/android/email/mail/Store.java
|
ae8ca3fbd1545c3a94011d7d70bcadac99e7779f |
|
27-Mar-2009 |
Andy Stadler <> |
Automated import from //branches/donutburger/...@143018,143018
/packages/apps/Email/src/com/android/email/mail/Store.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/mail/Store.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/mail/Store.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/mail/Store.java
|
8978aac1977408b05e386ae846c30920c7faa0a6 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/packages/apps/Email/src/com/android/email/mail/Store.java
|