mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
Mirror of git://xwords.git.sourceforge.net/gitroot/xwords/xwords
fe6996b663
Oreo's creating a new service instance for every single intent passed to enqueueWork, meaning a brand new set of threads with a new queue, empty set of messages to be retried, etc. was created every time, and all attempts to optimize and retry were broken. So: make the threads a static singleton that are given a Service instance from onCreate() and told to drop it from onDestroy(). The threads proceed until they need an instance, then block until one's available. Seems to work on Oreo and an older Android as well. |
||
---|---|---|
xwords4 | ||
.gitignore | ||
.projectile | ||
.travis.yml | ||
id_rsa_uploader.enc |