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

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

am a26b0a40: am ed6dd2e6: am d3bc1994: Merge change I397b6a93 into eclair

Merge commit 'a26b0a40'

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