commit | 56f17b57c6a5ec554fafc054476f4c17dca9e662 | [log] [tgz] |
---|---|---|
author | Brett Chabot <brettchabot@google.com> | Thu Sep 11 18:26:15 2014 -0700 |
committer | Brett Chabot <brettchabot@google.com> | Fri Sep 12 16:25:10 2014 -0700 |
tree | 4a10d71c739e896e0bc0074681cc526dbaa707c0 | |
parent | 0d9d8f7b5ed356a3cc00ff4480046fdd3edbc2be [diff] |
Use daemon threads for battery and property background fetches. The thread pool previously used had no benefit over a simple thread, since there was a thread pool per device. Using daemon threads so having an active prop or battery query does not prevent JVM from shutting down. Also remove the battery fetch backoff time to be consistent with property fetch. Change-Id: Ica14c161462f7a5ee1729d87228f4d13fb28de63