summaryrefslogtreecommitdiff
path: root/core/java/android/os/Process.java
diff options
context:
space:
mode:
authorAlessio Balsini <alessio.balsini@gmail.com>2017-06-19 11:54:05 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-06-19 11:54:05 +0000
commitfd88d146b4133e8b6ee69a5ea1f08a8b27c235e5 (patch)
tree6d97949f85405ebc85f488b8da543ef360e90559 /core/java/android/os/Process.java
parent895b695ab0ff3e6b4ac1301713d2b32a7856de91 (diff)
parent6f0adbfaea6aa59abf2508b5285acf358a7c8ca7 (diff)
Merge "Documentation: changed tid parameter description for getThreadPriority()" am: 663b02dd28
am: 6f0adbfaea Change-Id: I0626fb2d9de978f204ba9898a56e4225a71f03e8
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 7a709ed59b15..ae0b88573e8f 100644
--- a/core/java/android/os/Process.java
+++ b/core/java/android/os/Process.java
@@ -767,7 +767,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