summaryrefslogtreecommitdiff
path: root/core/java/android/os/Process.java
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2016-06-10 10:03:20 -0700
committerTim Murray <timmurray@google.com>2016-07-07 12:55:31 -0700
commit33eb07f5759b85a5617f8057d8a335019c7d24dd (patch)
tree4f8d38df24b8c7c42cffd760fa1ef654b253c859 /core/java/android/os/Process.java
parentb89970e0fb11b71592e10570d387eac3bbb6f6d6 (diff)
Add new mode for SCHED_FIFO on UI and RenderThreads.
Add a new mode, controlled by sys.use_fifo_ui property, that enables the top app's UI and RenderThread to be SCHED_FIFO. This eliminates almost all jank due to scheduling competition with non-UI critical threads. This mode may not be suitable for all devices. bug 24503801 Change-Id: I7b8a31830ad80f7efa00236928d5476998ed4e00
Diffstat (limited to 'core/java/android/os/Process.java')
-rw-r--r--core/java/android/os/Process.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java
index 24e7a6347080..c26d974b2cba 100644
--- a/core/java/android/os/Process.java
+++ b/core/java/android/os/Process.java
@@ -329,7 +329,6 @@ public class Process {
*/
public static final int SCHED_RESET_ON_FORK = 0x40000000;
-
// Keep in sync with SP_* constants of enum type SchedPolicy
// declared in system/core/include/cutils/sched_policy.h,
// except THREAD_GROUP_DEFAULT does not correspond to any SP_* value.