Revert "Refine documentation for Process.setThreadPriority"

This reverts commit c3648a82f1.

Reason for revert: will cause lock contention

Bug: 139521784
Test: build pass
Change-Id: Ic10951493ec8dda4e5a5adcbd1c3cb3be3b64782
This commit is contained in:
Rick Yiu
2020-09-26 07:18:54 +00:00
parent f29902285a
commit b551e63ea7

View File

@@ -851,12 +851,11 @@ public class Process {
/**
* Set the priority of a thread, based on Linux priorities.
*
* @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 tid The identifier of the thread/process to change.
* @param priority A Linux priority level, from -20 for highest scheduling
* priority to 19 for lowest scheduling priority.
*
*
* @throws IllegalArgumentException Throws IllegalArgumentException if
* <var>tid</var> does not exist.
* @throws SecurityException Throws SecurityException if your process does