@Override
    public void run() {
        Process.setThreadPriority(threadPriority);
        runImpl();
    }
Runnable that set thread priority before execution. See {@link Process} for list of available priority levels.
app/src/main/java/com/cleveroad/example/PriorityRunnable.java