diff options
| author | Alessio Balsini <alessio.balsini@gmail.com> | 2017-06-19 11:43:00 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2017-06-19 11:43:00 +0000 |
| commit | 6f0adbfaea6aa59abf2508b5285acf358a7c8ca7 (patch) | |
| tree | 18fabea18dfb3483d46f26b9d94f633d06f8ac6e /core/java/android/os/Process.java | |
| parent | 7ba927042778339795ffa7eda23a272d5ba9fc4f (diff) | |
| parent | 663b02dd284a60fb3cc5266adaa1db535025a8fe (diff) | |
Merge "Documentation: changed tid parameter description for getThreadPriority()"
am: 663b02dd28
Change-Id: I4953cf4bf4af592e080114bf937453b84b4a3e4e
Diffstat (limited to 'core/java/android/os/Process.java')
| -rw-r--r-- | core/java/android/os/Process.java | 3 |
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 |
