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

Commit ee43e2f0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Keep up with API change"

parents 66f75839 715f19d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -613,7 +613,7 @@ void android_os_Process_setThreadPriority(JNIEnv* env, jobject clazz,
    }

    // Do not change sched policy cgroup after boot complete.
    rc = androidSetThreadPriority(pid, pri, !boot_completed);
    rc = androidSetThreadPriorityAndPolicy(pid, pri, !boot_completed);
    if (rc != 0) {
        if (rc == INVALID_OPERATION) {
            signalExceptionForPriorityError(env, errno, pid);