diff options
| author | Rick Yiu <rickyiu@google.com> | 2020-10-02 15:08:51 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-10-02 15:08:51 +0000 |
| commit | 2d43e28fef6430d24082f9371ae35120cc40dcbc (patch) | |
| tree | 71764bf1df1eee697e4196283b81666ccab8b5ed /core/java/android | |
| parent | 62b07cad0db3636f75bd4fce9dd909a950273ac1 (diff) | |
| parent | ac2eaa172985949934dc413a67baafd382b7ca55 (diff) | |
Merge "Revert "Refine documentation for Process.setThreadPriority"" am: fe6160ab9c am: 1cb565ec3c am: 017adb4085 am: 765dbc6b67 am: ac2eaa1729
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440031
Change-Id: I681c550a8e3ae87db449fd434c95f46c55ea3cb6
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/os/Process.java | 7 |
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 |
