mirror of https://github.com/M66B/FairEmail.git
Cleanup
This commit is contained in:
parent
6a5b3e6fb8
commit
4f21c1cc9c
|
@ -247,7 +247,6 @@ public class Helper {
|
|||
|
||||
private static ExecutorService sSerialExecutor = null;
|
||||
private static ExecutorService sParallelExecutor = null;
|
||||
private static ExecutorService sSerialTaskExecutor = null;
|
||||
private static ExecutorService sMediaExecutor = null;
|
||||
private static ExecutorService sDownloadExecutor = null;
|
||||
|
||||
|
@ -266,12 +265,6 @@ public class Helper {
|
|||
return sParallelExecutor;
|
||||
}
|
||||
|
||||
static ExecutorService getSerialTaskExecutor() {
|
||||
if (sSerialTaskExecutor == null)
|
||||
sSerialTaskExecutor = getBackgroundExecutor(1, "task");
|
||||
return sSerialTaskExecutor;
|
||||
}
|
||||
|
||||
static ExecutorService getMediaTaskExecutor() {
|
||||
if (sMediaExecutor == null)
|
||||
sMediaExecutor = getBackgroundExecutor(0, 1, 3, "media");
|
||||
|
|
Loading…
Reference in New Issue