diff options
| author | 2019-03-07 19:04:31 +0000 | |
|---|---|---|
| committer | 2019-03-07 19:04:31 +0000 | |
| commit | ee9c42010f07b110e6c27afea345d80b51cdda5d (patch) | |
| tree | 5dc7ec73abc8f6eb64a9464bae21313efd9fd701 | |
| parent | 3b2e5c3d023e39dbca0e02dc0bee7dd9eab6f5ac (diff) | |
| parent | da8c0abdb3e0b0e88d73e026b929137ce9ba89a0 (diff) | |
Merge "Fix oom_adj range"
| -rw-r--r-- | services/core/java/com/android/server/am/ProcessList.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/am/ProcessList.java b/services/core/java/com/android/server/am/ProcessList.java index 02d31b80db59..620fb2cd8553 100644 --- a/services/core/java/com/android/server/am/ProcessList.java +++ b/services/core/java/com/android/server/am/ProcessList.java @@ -1161,11 +1161,11 @@ public final class ProcessList { * * @param pid The process identifier to set. * @param uid The uid of the app - * @param amt Adjustment value -- lmkd allows -16 to +15. + * @param amt Adjustment value -- lmkd allows -1000 to +1000 * * {@hide} */ - public static final void setOomAdj(int pid, int uid, int amt) { + public static void setOomAdj(int pid, int uid, int amt) { // This indicates that the process is not started yet and so no need to proceed further. if (pid <= 0) { return; |