1
0
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:
Jesse Vincent 2008-11-06 06:55:41 +00:00
parent 38748c59ca
commit fa829ea9ff

View File

@ -156,6 +156,13 @@ public class k9 extends Application {
* doesn't work in Android and MimeMessage does not have access to a Context. * doesn't work in Android and MimeMessage does not have access to a Context.
*/ */
BinaryTempFileBody.setTempDirectory(getCacheDir()); BinaryTempFileBody.setTempDirectory(getCacheDir());
/*
* Enable background sync of messages
*/
setServicesEnabled(this);
} }
} }