Only use single UpdateThread.
authorJeff Sharkey <jsharkey@android.com>
Wed, 20 Feb 2013 23:54:26 +0000 (15:54 -0800)
committerJeff Sharkey <jsharkey@android.com>
Wed, 20 Feb 2013 23:54:26 +0000 (15:54 -0800)
commit71a53040699e713bcae839a01b7f8abd9e13bab6
tree204e39c8b50322f122fa814f5e9d067f937a6769
parentd1214c9c92b6a4a44cfc46125c33d071a0f3d880
Only use single UpdateThread.

Since DownloadService starts and stops frequently, recycle a single
UpdateThread across invocations.

Bug: 8233041
Change-Id: I07756fb6bfdbad811cbd58e628fdfdbf63d71bf8
src/com/android/providers/downloads/DownloadService.java