mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-27 08:01:50 +01:00
Fixed simple task thread priority
This commit is contained in:
@@ -52,8 +52,8 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
|
||||
static {
|
||||
handlerThread = new HandlerThread("SimpleTask");
|
||||
handlerThread.setPriority(THREAD_PRIORITY_BACKGROUND);
|
||||
handlerThread.start();
|
||||
handlerThread.setPriority(THREAD_PRIORITY_BACKGROUND);
|
||||
handler = new Handler(handlerThread.getLooper());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user