mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
* Fix for Issue 65 - Intermittent failure of K-9 to background sync.
* Based on a patch provided by baolongnt++ http://code.google.com/p/k9mail/issues/detail?id=65#c10
This commit is contained in:
parent
38748c59ca
commit
fa829ea9ff
@ -156,6 +156,13 @@ public class k9 extends Application {
|
||||
* doesn't work in Android and MimeMessage does not have access to a Context.
|
||||
*/
|
||||
BinaryTempFileBody.setTempDirectory(getCacheDir());
|
||||
|
||||
/*
|
||||
* Enable background sync of messages
|
||||
*/
|
||||
|
||||
setServicesEnabled(this);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user