mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Cleanup
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user