mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-27 01:03:15 +01:00
Added names for threads
So it is easier to identify problems in bug reports
This commit is contained in:
parent
7a921e0024
commit
01616dd502
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user