summaryrefslogtreecommitdiffstats
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r--libs/binder/IPCThreadState.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp
index d474571..e04b2bf 100644
--- a/libs/binder/IPCThreadState.cpp
+++ b/libs/binder/IPCThreadState.cpp
@@ -424,11 +424,6 @@ void IPCThreadState::joinThreadPool(bool isMain)
result = executeCommand(cmd);
-
- // Make sure that after executing the command that we put the thread back into the
- // default cgroup. This is just a failsafe incase the thread's priority or cgroup was
- // not properly restored.
- set_sched_policy(getpid(), SP_FOREGROUND);
}
// Let this thread exit the thread pool if it is no longer