summaryrefslogtreecommitdiff
path: root/core/java/android/os/Process.java
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-01-10 10:33:00 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-01-10 10:33:00 +0000
commit5ea8b0d72f47d4c2e028992294a8904a3945715e (patch)
tree64384c6c84896383fa9a242294504feb3f239d52 /core/java/android/os/Process.java
parentbaf293509925fa9f0ebfde075b9fd192e1d93b5f (diff)
parent163d3a1e98f3cc75b954eedc7604d3a52558990c (diff)
Merge "Refine documentation for Process.setThreadPriority" am: fd1985993c am: 32593a60d0 am: 163d3a1e98
Change-Id: I39f822c59e0347abf122ba6cea93dc1adb101234
Diffstat (limited to 'core/java/android/os/Process.java')
-rw-r--r--core/java/android/os/Process.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java
index 3ef86ed9f994..5fe647c8b6bf 100644
--- a/core/java/android/os/Process.java
+++ b/core/java/android/os/Process.java
@@ -758,11 +758,12 @@ 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.
- *
+ *
* @throws IllegalArgumentException Throws IllegalArgumentException if
* <var>tid</var> does not exist.
* @throws SecurityException Throws SecurityException if your process does