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

Commit fb6aafd8 authored by San Mehat's avatar San Mehat Committed by Android Git Automerger
Browse files

am ca84ac88: am d345c6ac: am 0a42b811: base: process: Abort setting the...

am ca84ac88: am d345c6ac: am 0a42b811: base: process: Abort setting the process group if one of the threads fails to switch

Merge commit 'ca84ac88'

* commit 'ca84ac88':
  base: process: Abort setting the process group if one of the threads fails to switch
parents 762c0b8a ca84ac88
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -266,6 +266,7 @@ void android_os_Process_setProcessGroup(JNIEnv* env, jobject clazz, int pid, jin
        if (set_sched_policy(t_pid, (grp == ANDROID_TGROUP_BG_NONINTERACT) ?
                                            SP_BACKGROUND : SP_FOREGROUND)) {
            signalExceptionForGroupError(env, clazz, errno);
            break;
        }
    }
    closedir(d);