Fixed simple task thread priority

pull/50/head
M66B 6 years ago
parent 651230b218
commit 4830222a7a

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

Loading…
Cancel
Save