Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96f842eb authored by Andre Eisenbach's avatar Andre Eisenbach
Browse files

Ensure thread priority is raised for media task / UIPC

Bug: 23978964
Change-Id: I36b6d05bb82eb0283eed3b465038d65890c4c245
parent 55712734
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -138,7 +138,6 @@ void raise_priority_a2dp(tHIGH_PRIORITY_TASK high_task) {
    // its prio individually. All other threads can be dynamically adjusted voa
    // adjust_priority_a2dp()

    if (high_task == TASK_HIGH_HCI_WORKER)
    priority = ANDROID_PRIORITY_URGENT_AUDIO;

    if (setpriority(PRIO_PROCESS, tid, priority) < 0) {