From 4830222a7a0a15cb5d13d74ce8120e4c58bfdac0 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 22 Aug 2018 13:40:14 +0000 Subject: [PATCH] Fixed simple task thread priority --- app/src/main/java/eu/faircode/email/SimpleTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/SimpleTask.java b/app/src/main/java/eu/faircode/email/SimpleTask.java index 67e234bc..ecdab9ad 100644 --- a/app/src/main/java/eu/faircode/email/SimpleTask.java +++ b/app/src/main/java/eu/faircode/email/SimpleTask.java @@ -52,8 +52,8 @@ public abstract class SimpleTask implements LifecycleObserver { static { handlerThread = new HandlerThread("SimpleTask"); - handlerThread.setPriority(THREAD_PRIORITY_BACKGROUND); handlerThread.start(); + handlerThread.setPriority(THREAD_PRIORITY_BACKGROUND); handler = new Handler(handlerThread.getLooper()); }