summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-10-02 15:09:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-10-02 15:09:10 +0000
commit56be16902618b3c16a4bc053442ab9d7c079b06c (patch)
treecee5cc5ce938ce5d353a0e1bb835d7e7ac70b9b6 /core/java/android
parent3ec9feb5cdadf8bb039730a8504663fad3e465d1 (diff)
parent2d43e28fef6430d24082f9371ae35120cc40dcbc (diff)
Merge changes from topic "am-d7887c92318748ca81c6d11a22e05a83"
* changes: Merge "Revert "Refine documentation for Process.setThreadPriority"" am: fe6160ab9c am: 1cb565ec3c am: 017adb4085 am: 765dbc6b67 am: ac2eaa1729 Merge "Revert "Implement the ThreadPrioritySetter interface"" am: b01d0fe127 am: f7ac1ee91d am: 05a7df810c am: 149f54eb11 am: 545b3b4465
Diffstat (limited to 'core/java/android')
-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 ca0981b46182..e62ad1fa9052 100644
--- a/core/java/android/os/Process.java
+++ b/core/java/android/os/Process.java
@@ -852,12 +852,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