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

Commit 875c96d4 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Android Git Automerger
Browse files

am 96f842eb: Ensure thread priority is raised for media task / UIPC

* commit '96f842eb':
  Ensure thread priority is raised for media task / UIPC
parents 8f81173e 96f842eb
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) {