Browse Source

Fixed simple task thread priority

main
M66B 6 years ago
parent
commit
4830222a7a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/SimpleTask.java

+ 1
- 1
app/src/main/java/eu/faircode/email/SimpleTask.java 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());
}


Loading…
Cancel
Save