Merge "Do not set the group and cpuset for the OomAdjuster thread" into sc-dev

This commit is contained in:
Jing Ji
2021-04-21 22:47:26 +00:00
committed by Android (Google) Code Review

View File

@@ -345,8 +345,6 @@ public final class OomAdjuster {
final ServiceThread adjusterThread =
new ServiceThread(TAG, THREAD_PRIORITY_TOP_APP_BOOST, false /* allowIo */);
adjusterThread.start();
adjusterThread.getThreadHandler().post(() -> Process.setThreadGroupAndCpuset(
adjusterThread.getThreadId(), THREAD_GROUP_TOP_APP));
return adjusterThread;
}