mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-18 22:02:19 -05:00
3527930f89
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 |
||
---|---|---|
.. | ||
filter | ||
internet | ||
store | ||
transport | ||
Address.java | ||
Authentication.java | ||
AuthenticationFailedException.java | ||
Body.java | ||
BodyPart.java | ||
CertificateChainException.java | ||
CertificateValidationException.java | ||
CompositeBody.java | ||
ConnectionSecurity.java | ||
FetchProfile.java | ||
Flag.java | ||
Folder.java | ||
Message.java | ||
MessagingException.java | ||
Multipart.java | ||
Part.java | ||
Pusher.java | ||
PushReceiver.java | ||
ServerSettings.java | ||
Store.java | ||
Transport.java |