summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Yiu <rickyiu@google.com>2020-10-02 12:23:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-10-02 12:23:53 +0000
commitfe6160ab9ce6c83ef6a1cefbc57955b4d9c3849b (patch)
tree57dc4c6e11bdc28ca0c2c24752e4cc1b0a1d2a43
parentb01d0fe127cffe28e77cac70c5cba9218d8edd29 (diff)
parentb551e63ea77bdc4caba70594feabd6045ab980a7 (diff)
Merge "Revert "Refine documentation for Process.setThreadPriority""
-rw-r--r--core/java/android/os/Process.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java
index 52dd86554e91..2aa5c13e6e9f 100644
--- a/core/java/android/os/Process.java
+++ b/core/java/android/os/Process.java
@@ -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