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

Commit c3648a82 authored by Rick Yiu's avatar Rick Yiu
Browse files

Refine documentation for Process.setThreadPriority

Add more description for the tid parameter.

Bug: 139521784
Test: compile
Change-Id: I5ccfef865d49207172df301520cf38e942e03e21
parent b7d66598
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -741,7 +741,8 @@ public class Process {
    /**
     * Set the priority of a thread, based on Linux priorities.
     *
     * @param tid The identifier of the thread/process to change.
     * @param tid The identifier of the thread/process to change. It should be
     * the native thread id but not the managed id of {@link java.lang.Thread}.
     * @param priority A Linux priority level, from -20 for highest scheduling
     * priority to 19 for lowest scheduling priority.
     *