Merge "Revert "Refine documentation for Process.setThreadPriority"" am: fe6160ab9c am: 1cb565ec3c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440031 Change-Id: I1715fe8876ad912282114a2d3db531fdfe577655
This commit is contained in:
@@ -852,8 +852,7 @@ public class Process {
|
|||||||
/**
|
/**
|
||||||
* Set the priority of a thread, based on Linux priorities.
|
* Set the priority of a thread, based on Linux priorities.
|
||||||
*
|
*
|
||||||
* @param tid The identifier of the thread/process to change. It should be
|
* @param tid The identifier of the thread/process to change.
|
||||||
* 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
|
* @param priority A Linux priority level, from -20 for highest scheduling
|
||||||
* priority to 19 for lowest scheduling priority.
|
* priority to 19 for lowest scheduling priority.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user