summaryrefslogtreecommitdiff
path: root/core/java/android/os/Process.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-06-19 11:29:58 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-06-19 11:30:05 +0000
commit663b02dd284a60fb3cc5266adaa1db535025a8fe (patch)
tree9954d2cbdfa8ceba08d32bcaf3355fe5123ccc38 /core/java/android/os/Process.java
parentb5c4e80ecd47dda8c73b0e93eb2ee1a8da58c981 (diff)
parent68ae301831b372ee873d275efdcc8f177e4c571f (diff)
Merge "Documentation: changed tid parameter description for getThreadPriority()"
Diffstat (limited to 'core/java/android/os/Process.java')
-rw-r--r--core/java/android/os/Process.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java
index d6688e3c00f7..d5e240a8e211 100644
--- a/core/java/android/os/Process.java
+++ b/core/java/android/os/Process.java
@@ -740,7 +740,8 @@ public class Process {
/**
* Return the current 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. If tid equals zero, the priority of the
+ * calling process/thread will be returned.
*
* @return Returns the current priority, as a Linux priority level,
* from -20 for highest scheduling priority to 19 for lowest scheduling