From 55c990f9f3d722ab7ed6e55be2f64908c1ec8e8a Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 9 Aug 2019 20:06:41 +0200 Subject: [PATCH] Cleanup --- app/src/main/java/eu/faircode/email/Helper.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index c2bb2fadd0..9b1e5d1b45 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -128,17 +128,6 @@ public class Helper { } }; - static ThreadFactory foregroundThreadFactory = new ThreadFactory() { - private final AtomicInteger threadId = new AtomicInteger(); - - @Override - public Thread newThread(@NonNull Runnable runnable) { - Thread thread = new Thread(runnable); - thread.setName("FairEmail_fg_" + threadId.getAndIncrement()); - return thread; - } - }; - private static final ExecutorService executor = Executors.newSingleThreadExecutor(backgroundThreadFactory);