Merge pull request #3157 from ByteHamster/add-thread-names

Added names for threads
This commit is contained in:
H. Lehmann 2019-05-03 12:21:13 +02:00 committed by GitHub
commit 2f7314eb2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class DownloadService extends Service {
}
}
private final Thread downloadCompletionThread = new Thread() {
private final Thread downloadCompletionThread = new Thread("DownloadCompletionThread") {
private static final String TAG = "downloadCompletionThd";
@Override
@ -594,6 +594,9 @@ public class DownloadService extends Service {
private static final long WAIT_TIMEOUT = 3000;
FeedSyncThread() {
super("FeedSyncThread");
}
/**
* Waits for completed requests. Once the first request has been taken, the method will wait WAIT_TIMEOUT ms longer to