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:
parent
651230b218
commit
4830222a7a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue