pull/210/head
M66B 2 years ago
parent 6a5b3e6fb8
commit 4f21c1cc9c

@ -247,7 +247,6 @@ public class Helper {
private static ExecutorService sSerialExecutor = null; private static ExecutorService sSerialExecutor = null;
private static ExecutorService sParallelExecutor = null; private static ExecutorService sParallelExecutor = null;
private static ExecutorService sSerialTaskExecutor = null;
private static ExecutorService sMediaExecutor = null; private static ExecutorService sMediaExecutor = null;
private static ExecutorService sDownloadExecutor = null; private static ExecutorService sDownloadExecutor = null;
@ -266,12 +265,6 @@ public class Helper {
return sParallelExecutor; return sParallelExecutor;
} }
static ExecutorService getSerialTaskExecutor() {
if (sSerialTaskExecutor == null)
sSerialTaskExecutor = getBackgroundExecutor(1, "task");
return sSerialTaskExecutor;
}
static ExecutorService getMediaTaskExecutor() { static ExecutorService getMediaTaskExecutor() {
if (sMediaExecutor == null) if (sMediaExecutor == null)
sMediaExecutor = getBackgroundExecutor(0, 1, 3, "media"); sMediaExecutor = getBackgroundExecutor(0, 1, 3, "media");

Loading…
Cancel
Save