24bb2dabd9dd7d8bd39fed53f312ae6034e373bb |
|
13-Sep-2013 |
Martin Hibdon <mhibdon@google.com> |
Kill the process when an account is deleted. b/10653370 This prevents NPEs if a serviec happens to still be running when an account is deleted. This mirrors a similar pattern in the gmail app. Change-Id: I6fd8ae5ffe41580df0a321ec22535403e3f32eee
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
e25e6b2937daf80d38cc640d06632d8d2488b6e9 |
|
12-Sep-2013 |
Martin Hibdon <mhibdon@google.com> |
Delete POP emails when they are removed from the server b/10461973 Change-Id: Iccd455b4b71d83318c7f5429f399fe5db2558e42
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
85ff07a00a368beb1da4090de6fb086c3fad972e |
|
12-Sep-2013 |
Martin Hibdon <mhibdon@google.com> |
Fix a bug in Pop3 sync b/10413188 There are still several issues with attachments generally, but this fixes the most glaring problem: We were short circuiting in a loop that needed to populate a hash table of remote message Ids, so not all of them would be present. The later code intended to load attachments expected it to be fully populated. There are still several problems, notably that if downloading doesn't work, it just spins forever, but this fixes the first problem. Change-Id: I2b23dcb841edabe108096933fea2350ef61a10f1
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
466eb2dcd2660bf0e5d8d1440db598a30ca184f3 |
|
29-Aug-2013 |
Martin Hibdon <mhibdon@google.com> |
Prevent simultaneous imap and pop syncs b/10527550 I'm not yet sure why we're getting this started in multiple threads, but the methods where the sync occurs are now synchronized so they can't happen at the same time. Change-Id: Icf7afd336ed056bb42df84b8634117afa8f31213
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
6edccbf1f1371157cfa6e503d8353a474aafd2a1 |
|
07-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Fix capabilities to allow discarding drafts. Bug: 10098652 Change-Id: Iebceb203cd054a1550f7c1f118841a77429f853a
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
b177af7534782e6e3c764986731a1711d12de844 |
|
29-Jul-2013 |
Martin Hibdon <mhibdon@google.com> |
Update pop3 syncing b/9857766 If we currently have zero messages (i.e. initial sync of a new account) we will load the most recent 100 messages. On subsequent syncs, we will load more recent messages until either: 1. We have loaded 100 and not yet past any of the messages we already had locally, or 2. We encounter messages that we already had locally, and then load "deltaMessageCount" additional messages past the ones we have locally. Change-Id: I8b34409dcdaceff2d2e1906174241a74f2331688
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
e95b9bb3e4b2f9eeaf47eceb550df79599efc41c |
|
30-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Merge "Delete most of IEmailServiceCallback." into jb-ub-mail-ur10
|
2075c97f608a853923980865b72147a5c8ef71f0 |
|
30-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Delete most of IEmailServiceCallback. The old callback mechanism is deprecated, in favor of making calls on the ContentProvider. Bug: 9842867 Change-Id: I65f559e593cda24456c4ffb96f785e054626dd0b
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
6dd7bd29e97e7190b01bf6325d131f24c097b560 |
|
30-Jul-2013 |
Paul Westbrook <pwestbro@google.com> |
Load large POP attachments Load large attachments from a partial POP message There will be a new change that improves the UI for loading the rest of the message Bug: 8651782 Change-Id: I075de1e82e27cf2018607eef50143850e8fecaf2
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
8fe781124116d4d8423c2555c223abd3f056323e |
|
29-Jul-2013 |
Paul Westbrook <pwestbro@google.com> |
Stop crashing with POP attachments This is the first part of the change to fix POP attachments. A following change will handle these partial messages better Bug: 8651782 Change-Id: I8d00866207dedf63805e0eecab9555c28104f2dc
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
d5acf0bbc00cbe9a2c075e1bd4825ccbd9851d8d |
|
15-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Explicitly pass a callback when loading attachments. This is part of moving away from the explicit setCallback, which either has race conditions or is very noisy, or both. (Each IEmailService call that wants callbacks should just pass the callback explicitly.) I'm not yet changing how the services actually handle the call. Each protocol will need to fix this on their own. Bug: 9735207 Bug: 9842867 Change-Id: If8cf69ffe82f3544ace9e58b1db5a183f38d038a
/packages/apps/Email/src/com/android/email/service/Pop3Service.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/service/Pop3Service.java
|
9a2686afa2e02c62a8e5f9c42c82bd2da70b96af |
|
15-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Improve POP sync. - Set socket timeout as soon as you open it. This was how IMAP worked, so I just moved the call up one level. This should help one of the sync forever scenarios. - Simplify the SQL query for getting a Mailbox. - Try to load messages that failed to load last time. - Always close the connection to the remote folder. - Don't try to be too clever in fetching the body. This needs to be fixed later for attachements, but for now seems to work better and will let me get more testing. Change-Id: I91b6a6f2a2846b34b1a0c50eb4eb37fc947389ce
/packages/apps/Email/src/com/android/email/service/Pop3Service.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/service/Pop3Service.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/service/Pop3Service.java
|
970fe5316b54cf6b60dbe9122e744eaa31772e10 |
|
04-Aug-2012 |
Marc Blank <mblank@google.com> |
Progress updates for POP3 message downloads * Also, handle MessagingException when doing STAT Change-Id: I5267b64f18a84fcc97fc2d003e49d4e373ea02c5
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
7f7f7e6402eec1baab6bedcb58da61369cae4097 |
|
03-Aug-2012 |
Marc Blank <mblank@google.com> |
Handle server deletion of local POP deletions * Also avoid looping through zillions of messages when checking uid's * Always have 25 (or whatever the visible limit) messages loaded Change-Id: Ib2f02a59cc438e3fd14d7ac607fb01d9a5fa5282
/packages/apps/Email/src/com/android/email/service/Pop3Service.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/service/Pop3Service.java
|
0b5f15d61ebf7c0e8428100637bc479ed93a4cb2 |
|
25-Jul-2012 |
Marc Blank <mblank@google.com> |
Make sure account capabilities get set properly in UIProvider * Change getCapabilities API to take an account, rather than the id of the account * getCapabilities() can therefore execute even before Exchange is fully up and running Change-Id: Id4c2a9942ea7a21e0c56401c50206b680274b43e
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
c5afb16430a145f20d7c887e45f47b38687054da |
|
28-Jun-2012 |
Marc Blank <mblank@google.com> |
Add a bunch of stuff missed earlier Change-Id: I7f707446a963912fe5786dacb5569e68db572d1c
/packages/apps/Email/src/com/android/email/service/Pop3Service.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/service/Pop3Service.java
|
e2166f75486da0a1b70b804ea34f11f600f11cfd |
|
11-Mar-2012 |
Marc Blank <mblank@google.com> |
Add totalCount to Mailbox; send to UIProvider Change-Id: If01868eb27a97540683f25148f32b8c41ae59c17
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
ab6321e2c470596b9d8e4f97a23160788d917590 |
|
09-Mar-2012 |
Marc Blank <mblank@google.com> |
Fix SMTP sending Bug: 6134036 Change-Id: Id48e4bd17e7493d873d888027e68c7eb86d23198
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
7ac38af790f272a92d18dc858d0e0bba124849be |
|
17-Feb-2012 |
Marc Blank <mblank@google.com> |
Re-attach mailbox sync callbacks and refresh status Change-Id: I45de04f59f83757186f30d6ff53395a639a1d740
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|
4f813fb12937de74d3ccec730b8de0c9de7a87e0 |
|
14-Feb-2012 |
Marc Blank <mblank@google.com> |
Convert POP3 to service * Remove MessagingController and (almost all of) MailService Change-Id: I8953b58b237de6a71fda770f1727bd94081fec55
/packages/apps/Email/src/com/android/email/service/Pop3Service.java
|