1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-14 21:45:14 -05:00
k-9/src/com/fsck/k9/mail
cketti 3527930f89 Fix 'endless' loop in ImapFolderPusher
Under certain circumstances it's possible that the 'push state' isn't
updated to contain the most recent 'UIDNEXT' value. In that case
ImapFolderPusher.start() would execute the same code path through its
main loop over and over again, preventing the device from going to
sleep.
Rather than changing the code to update the 'push state' in the corner
case that triggers the behavior described above, this commit introduces
another mechanism to track the 'UIDNEXT' value. This should also catch
as of yet unknown cases where the 'push state' isn't properly updated.

At some point in the future I hope we get to a point where we only
persist the 'push state' when we manually stop/restart the service.
During normal operation there's no need to read from/write to storage
all the time.

Fixes issue 4907
2014-02-11 20:17:47 +01:00
..
filter Fix a number of build warnings. 2013-02-04 11:18:49 +01:00
internet Generally replace \n with \r\n when part of a message 2013-10-11 11:39:46 -04:00
store Fix 'endless' loop in ImapFolderPusher 2014-02-11 20:17:47 +01:00
transport Move some classes out of com.fsck.k9.mail.store 2013-12-02 14:07:57 -05:00
Address.java Use address object as contact picture instead of email address only. 2013-09-27 08:53:14 +02:00
Authentication.java astyle 2011-04-12 22:16:22 +10:00
AuthenticationFailedException.java Big, scary massive "ant astyle" to get us back to something 2011-02-06 17:09:48 -05:00
Body.java Recursively convert attachments of type message/rfc822 to 7bit if necessary. 2013-09-03 19:53:13 -04:00
BodyPart.java Recursively convert attachments of type message/rfc822 to 7bit if necessary. 2013-09-03 19:53:13 -04:00
CertificateChainException.java Fix erroneous SSL certificate warnings 2013-08-25 15:43:36 -04:00
CertificateValidationException.java Clean-up related to certificate chains 2013-08-27 18:48:07 -04:00
CompositeBody.java Recursively convert attachments of type message/rfc822 to 7bit if necessary. 2013-09-03 19:53:13 -04:00
ConnectionSecurity.java Renamed class StoreSettings to ServerSettings 2011-06-07 16:09:15 +02:00
FetchProfile.java Big, scary massive "ant astyle" to get us back to something 2011-02-06 17:09:48 -05:00
Flag.java + add support for $Forwarded IMAP flag 2012-08-29 02:26:38 +02:00
Folder.java Koji Arai pointed out that I screwed up the constants for folder open modes 2013-08-25 11:36:25 -04:00
Message.java Content-type case-conversion changes. 2013-09-03 19:54:18 -04:00
MessagingException.java Big, scary massive "ant astyle" to get us back to something 2011-02-06 17:09:48 -05:00
Multipart.java Recursively convert attachments of type message/rfc822 to 7bit if necessary. 2013-09-03 19:53:13 -04:00
Part.java Recursively convert attachments of type message/rfc822 to 7bit if necessary. 2013-09-03 19:53:13 -04:00
Pusher.java Big, scary massive "ant astyle" to get us back to something 2011-02-06 17:09:48 -05:00
PushReceiver.java Big, scary massive "ant astyle" to get us back to something 2011-02-06 17:09:48 -05:00
ServerSettings.java Modified ServerSettings to be able to create instances with "extras" 2011-12-01 02:57:53 +01:00
Store.java Add code to remove references to LocalStore when deleting accounts 2013-08-30 03:02:50 +02:00
Transport.java Fix Issue 2389: Self signed certificate expiry causes silent send/receive failure. 2013-01-10 16:49:55 -05:00