mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-26 16:52:46 +01:00
Merge pull request #3157 from ByteHamster/add-thread-names
Added names for threads
This commit is contained in:
commit
2f7314eb2e
@ -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";
|
private static final String TAG = "downloadCompletionThd";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -594,6 +594,9 @@ public class DownloadService extends Service {
|
|||||||
|
|
||||||
private static final long WAIT_TIMEOUT = 3000;
|
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
|
* Waits for completed requests. Once the first request has been taken, the method will wait WAIT_TIMEOUT ms longer to
|
||||||
|
Loading…
Reference in New Issue
Block a user