1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 22:51:02 +00:00

Fixed simple task thread priority

This commit is contained in:
M66B 2018-08-22 13:40:14 +00:00
parent 651230b218
commit 4830222a7a

View file

@ -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());
}