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

Commit a26b0a40 authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am ed6dd2e6: am d3bc1994: Merge change I397b6a93 into eclair

Merge commit 'ed6dd2e6' into eclair-mr2-plus-aosp

* commit 'ed6dd2e6':
  Don't accidentally signal multiple exceptions in setThreadPriority()
parents 5a2fdbba ed6dd2e6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -285,6 +285,7 @@ void android_os_Process_setThreadPriority(JNIEnv* env, jobject clazz,

    if (rc) {
        signalExceptionForGroupError(env, clazz, errno);
        return;
    }

    if (setpriority(PRIO_PROCESS, pid, pri) < 0) {