diff options
| author | Rick Yiu <rickyiu@google.com> | 2019-10-03 17:29:20 +0800 |
|---|---|---|
| committer | Rick Yiu <rickyiu@google.com> | 2019-10-08 06:28:23 +0000 |
| commit | 021c064e854a178ddaaddf1d7b3055959a535bb6 (patch) | |
| tree | a57294dc9bb9ec3e1eeec7c61ede34fc8bf971b8 /core/java/android/os/Process.java | |
| parent | 40b60e14aec15094c57ac49886b2828714f2f82c (diff) | |
Rename THREAD_GROUP_BG_NONINTERACTIVE to THREAD_GROUP_BACKGROUND
To address a FIXME in core/java/android/os/Process.java.
Bug: 139521784
Test: build pass
Change-Id: Id513f42b5afada8c821a742bbda5e132b62f3b96
Diffstat (limited to 'core/java/android/os/Process.java')
| -rw-r--r-- | core/java/android/os/Process.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java index 76e728a11e83..43b9c6728868 100644 --- a/core/java/android/os/Process.java +++ b/core/java/android/os/Process.java @@ -420,10 +420,9 @@ public class Process { * Background thread group - All threads in * this group are scheduled with a reduced share of the CPU. * Value is same as constant SP_BACKGROUND of enum SchedPolicy. - * FIXME rename to THREAD_GROUP_BACKGROUND. * @hide */ - public static final int THREAD_GROUP_BG_NONINTERACTIVE = 0; + public static final int THREAD_GROUP_BACKGROUND = 0; /** * Foreground thread group - All threads in @@ -809,7 +808,7 @@ public class Process { * * group == THREAD_GROUP_DEFAULT means to move all non-background priority * threads to the foreground scheduling group, but to leave background - * priority threads alone. group == THREAD_GROUP_BG_NONINTERACTIVE moves all + * priority threads alone. group == THREAD_GROUP_BACKGROUND moves all * threads, regardless of priority, to the background scheduling group. * group == THREAD_GROUP_FOREGROUND is not allowed. * |
