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

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

am d3bc1994: Merge change I397b6a93 into eclair

Merge commit 'd3bc1994' into eclair-mr2

* commit 'd3bc1994':
  Don't accidentally signal multiple exceptions in setThreadPriority()
parents 48476b0a d3bc1994
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) {