Commit d5747b73 authored by Geoffrey Métais's avatar Geoffrey Métais

Fix Threads priority

parent 3b00b901
......@@ -76,7 +76,7 @@ public class VLCApplication extends Application {
@Override
public Thread newThread(Runnable runnable) {
final Thread thread = new Thread(runnable);
thread.setPriority(Process.THREAD_PRIORITY_DEFAULT+Process.THREAD_PRIORITY_LESS_FAVORABLE);
thread.setPriority(Thread.NORM_PRIORITY+Process.THREAD_PRIORITY_LESS_FAVORABLE);
return thread;
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment